]> git.lyx.org Git - lyx.git/blobdiff - README.localization
* cs.po
[lyx.git] / README.localization
index 141a0988c7d3648cbe83c3183e395e1eb6b2fdea..95c78cca87ec7c7fab73d72cb87ccec640529e89 100644 (file)
@@ -12,9 +12,8 @@ native language.
 
 1) WHERE DO I START?
 
-The file you need to edit it an xx.po file where xx stands for your language's 
-two letter code. German would be for example de.po and Polish pl.po. For a list 
-of languages codes look at:
+The file you need to edit it an xx.po file where xx stands for your language's
+two letter code. For a list of languages codes look at:
 
   http://www.gnu.org/software/gettext/manual/html_mono/gettext.html#Language-Codes
 
@@ -45,7 +44,7 @@ then you will see in it the untranslated strings and a place to write your
 translation for them.
 
 
-4) WHAT SHOULD I DO WITH THE '&', '|', '$, AND '%' CHARACTERS?
+4) WHAT SHOULD I DO WITH THE '&', '|', '$, '%' {} AND [[]] CHARACTERS?
 
 '&' stands for underlined characters (shortcut) in dialog boxes.
 '|' stands for underlined characters in menus.
@@ -54,11 +53,22 @@ These chars should be somehow used in your translations, however you'll have to
 invent your own working shortcuts for dialog and menu entries and resolve 
 possible conflicts of the same shortcut chars in one menu... 
 
+Note also that there are already used global shortcuts (such as p k x c m) and
+you should avoid to use these characters for first-level menu shortcuts.
+
 '$' and '%' are usually used as handlers for formatting or variables to be 
 inserted into the strings. Character sequences like %1$s or %1$d MUST also 
 appear in your translations! Please take them exactly as they are or you may 
 experience crashes when running LyX.
 
+[[Context]] is used to distinguish otherwise identical strings, which could
+have different translation dependent on the Context. [[Context]] appears only
+in msgid string and should not be repeated in the translated version.
+
+{} refer to counters and must not be translated. Example would be:
+msgid "Algorithm \\arabic{theorem}"
+msgstr "Algoritmus \\arabic{theorem}"
+
 
 5) WHAT IS pocheck.pl AND HOW DO I USE IT?