20210628 - Upgrade of php fixed the page rendering issue.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howtos:misc:internationalization_and_localization_of_shell_scripts [2015/03/31 11:30 (UTC)]
didierspaier Formatting modified to ease conversion to AsciiDoc marup
howtos:misc:internationalization_and_localization_of_shell_scripts [2015/10/04 14:48 (UTC)]
didierspaier [Practical recommendations for translators] Duplicate line removed.
Line 7: Line 7:
 This document is intended to help developers, maintainers and translators to write/maintain/translate internationalized then localized shell scripts, using the tools provided by GNU gettext. This document is intended to help developers, maintainers and translators to write/maintain/translate internationalized then localized shell scripts, using the tools provided by GNU gettext.
  
-The reference document is the manual entitled [[http://www.gnu.org/software/gettext/manual/gettext.html|GNU `gettext' utilities]].+The reference document is the manual entitled [[http://www.gnu.org/software/gettext/manual/gettext.html|GNU 'gettext' utilities]].
  
 The manual encompasses all programming languages usable with gettext, with a special focus on the C language. The manual encompasses all programming languages usable with gettext, with a special focus on the C language.
Line 65: Line 65:
  
 === (1) Internationalization === === (1) Internationalization ===
- +
  
    Set of shell scripts ───> Preparation ───> Marked shell scripts ───╮    Set of shell scripts ───> Preparation ───> Marked shell scripts ───╮
Line 141: Line 141:
  
 This variant of the process is shorter: This variant of the process is shorter:
-   +
   ╭─ [msgcmp] <── <locale>.po <── PO editor <── <locale>.po <── Update needed   ╭─ [msgcmp] <── <locale>.po <── PO editor <── <locale>.po <── Update needed
   │   │
Line 336: Line 336:
   * The translation text should include a "new line" character (or line feed, represented by "\n") at the beginning or at the end, exactly as the original text does. Conversely, if the original text doesn’t have the character, then the translation shouldn’t have it.   * The translation text should include a "new line" character (or line feed, represented by "\n") at the beginning or at the end, exactly as the original text does. Conversely, if the original text doesn’t have the character, then the translation shouldn’t have it.
   * A single backslash character "\" is not allowed in the translation.   * A single backslash character "\" is not allowed in the translation.
- 
-To "cut" (or end) a line inside a "dialog" box you should type \n: pressing [Enter] will 'not' insert a "new line" character in the text viewed by user. 
  
 To check your translation against gettext's requirements you could run following command: To check your translation against gettext's requirements you could run following command:

In Other Languages
QR Code
QR Code howtos:misc:internationalization_and_localization_of_shell_scripts (generated for current page)