Both sides previous revisionPrevious revisionNext revision | Previous revision |
worlddomination [2007/01/25 10:46] – manni | worlddomination [2008/02/08 19:49] (current) – external edit 127.0.0.1 |
---|
| |
This page provides full details of how POPFile localization is done. | This page provides full details of how POPFile localization is done. |
| |
| |
===== The L10N Scheme ===== | ===== The L10N Scheme ===== |
||//%%LanguageCharset%%// || Sets the character set for the UI; used in a //<meta>// tag that sets the //Content-Type// of the UI.||See http://www.w3.org/TR/html401/charset.html#h-5.2 for details.|| | ||//%%LanguageCharset%%// || Sets the character set for the UI; used in a //<meta>// tag that sets the //Content-Type// of the UI.||See http://www.w3.org/TR/html401/charset.html#h-5.2 for details.|| |
||//%%LanguageDirection%%//|| The direction in which the language is read. e.g. English is left to right, Arabic is right to left; used to set the //dir// attribute on the //<html>// tag of the UI. ||//ltr//, //rtl//; see http://www.w3.org/TR/html401/struct/dirlang.html#bidirection for details.|| | ||//%%LanguageDirection%%//|| The direction in which the language is read. e.g. English is left to right, Arabic is right to left; used to set the //dir// attribute on the //<html>// tag of the UI. ||//ltr//, //rtl//; see http://www.w3.org/TR/html401/struct/dirlang.html#bidirection for details.|| |
||//%%ManualLanguage%%// || The subdirectory of //manual/// that contains the manual for this language. If no translation use //en// English. Note that non-English manuals are not served locally, but come from //http://popfile.sourceforge.net/manual///. || Subject to change, check //http://popfile.sourceforge.net/manual/// || | ||//%%ManualLanguage%%// || The subdirectory of //manual// that contains the manual for this language. If no translation use //en// English. Note that non-English manuals are not served locally, but come from http://popfile.sourceforge.net/manual/. || Subject to change, check http://popfile.sourceforge.net/manual/ || |
||//Locale_Date//|| Two format strings that determine how the message dates will be formatted on the POPFile History screen. The first one determines the format used for messages that are less than 7 days old, the second one for older messages. Both format strings are devided by the '|' sign. ||The format specifiers you can use here are described on the DateFormat page.|| | ||//Locale_Date//|| Two format strings that determine how the message dates will be formatted on the POPFile History screen. The first one determines the format used for messages that are less than 7 days old, the second one for older messages. Both format strings are devided by the '%%|%%' sign. ||The format specifiers you can use here are described on the DateFormat page.|| |
| |
Some of the strings contain the character sequence %s. These are also format strings and the %s will be replaced by another string at run-time. For example, the string named 'Bucket_Error2' is set to "Bucket named %s already exists" in the Engish version. The %s symbol will be replaced by whatever bucket name the user entered on the Buckets page when this bucket name already exists to come up with a nice error string. | Some of the strings contain the character sequence %s. These are also format strings and the %s will be replaced by another string at run-time. For example, the string named 'Bucket_Error2' is set to "Bucket named %s already exists" in the Engish version. The %s symbol will be replaced by whatever bucket name the user entered on the Buckets page when this bucket name already exists to come up with a nice error string. |