mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
I18N for web
Performing I18N completely on the server, to leverage the existing gettext architecture. Also, the browser does not have access to the Language header. Added the additional po files for a set of required languages conflict with install/static/ipa.js was resolved. Note that the addition of the .po files in this patch is necessary. In order to get Transifex support, we need to update the LINGUAS file with the languages for which we want support. If we don't add the .po files in, they get automatically generated by the rpmbuild process. Our implementation of gettext has a bug in it (It might be F13 thing) where the the Plurals line is not getting correctly transformed, which causes a build failure. However, since the RPM would have the .po files anyway, we should revision control the ones we have, even if they are empty. Fixed the Bug reporting url to the original value. Corrected the Chartype encoding for UK
This commit is contained in:
@@ -19,7 +19,9 @@ Q: How do I add a new language for translation?
|
||||
|
||||
A: Edit the LINGUAS file and add the new language. Then run "make create-po".
|
||||
This will generate a new .po file for each language which doesn't have one
|
||||
yet. Be sure to add the new .po file(s) to the source code repository.
|
||||
yet. Be sure to add the new .po file(s) to the source code repository. For
|
||||
certain languages, you may have to edit the Plurals line. See:
|
||||
http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html
|
||||
|
||||
Q: What files must be under source code control?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user