Bug 158736
| Summary: | README*.html and RELEASE-NOTES*.html have lang="en" attribute | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Jens Petersen <petersen> | ||||
| Component: | redhat-release | Assignee: | John Ha <jha> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0 | CC: | adstrong, bgroh, eng-i18n-bugs, sarahs, timp | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-07-15 05:13:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jens Petersen
2005-05-25 11:25:41 UTC
It was a problem with us not changing lang="en" to lang="$lang" when creating $lang.xml files from en.xml and $lang.po. DocBook merely uses the settings in the xml files. I've fixed it all in 3.0E/*/Makefile and RHEL4/*/Makefile. Additionally, I've changed 3.0E/Makefile and RHEL4/Makefile to replace zh_CN, zh_TW and pt_BR with zh-CN, zh-TW and pt-BR, respectively, after creating the html-files (see http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1). Should be all fixed for the next build. Cheers, Bernd Thanks a lot: this also means that it should become possible to print out say Korean relnotes from a Japanese browser session from now on. :) Just another update, re: "replace zh_CN, zh_TW and pt_BR with zh-CN, zh-TW and pt-BR" I've taken it upstream to DocBook, and they've just added a new config parameter, by default replacing the underscores with hyphens in the DocBook -> HTML conversion: http://docbook.sourceforge.net/snapshot/ The config parameter will make it into the next release, though they're unsure about the default value. They'd like to make it compliant by default, but may decide to make the default backwards-compatible. Cheers, Bernd Created attachment 116633 [details]
regression test script for RHTS
Confirm bugs has been fixed and test script has been committed to RHTS for regression tetsing. Thanks. |