Red Hat Bugzilla – Bug 487256
Publican does not find Common Content if the country code is missing
Last modified: 2010-11-23 23:18:32 EST
Description of problem:
If the makefile specifies a language but omits its country code, Publican does not find the Common Content for that language.
Steps to Reproduce:
1. Take any book that currently builds in Publican that includes at least one language other than the book's XML_LANG that has Common Content in Publican (for example, French)
2. rename the folder containing that language's .po files, removing the dash and the country code (rename fr-FR to fr)
3. make the same change to that language's OTHER_LANGS entry in the makefile
4. make the book
Publican will not find the Common Content for that language ("Conventions" and "Feedback") and will therefore use the Common Content for the book's XML_LANG instead.
Even if no country code is specified, Publican should find and use the Common Content for that language.
Added ll sym-links to ll-CC.
e.g. fr -> fr-FR
This change requires brands to be rebuilt as well.
publican-fedora-0.18-0.fc10,publican-0.44-0.fc10 has been submitted as an update for Fedora 10.
publican-fedora-0.18-0.fc10, publican-0.44-0.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.