[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:misc:internationalization_and_localization_of_shell_scripts [2014/12/18 04:03 (UTC)] – re-added the author and tags mfillpot | howtos:misc:internationalization_and_localization_of_shell_scripts [2015/10/04 14:48 (UTC)] – [Practical recommendations for translators] Duplicate line removed. didierspaier | ||
---|---|---|---|
Line 7: | Line 7: | ||
This document is intended to help developers, maintainers and translators to write/ | This document is intended to help developers, maintainers and translators to write/ | ||
- | The reference document is the manual entitled [[http:// | + | The reference document is the manual entitled [[http:// |
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 ───> | Set of shell scripts ───> | ||
Line 141: | Line 141: | ||
This variant of the process is shorter: | This variant of the process is shorter: | ||
- | + | ||
╭─ [msgcmp] <── < | ╭─ [msgcmp] <── < | ||
│ | │ | ||
Line 303: | Line 303: | ||
In particular, I recommend to favor options which take as first argument a text string instead of a file, to allow line wrapping. It is still possible to preserve the intended layout using white spaces for indentation. | In particular, I recommend to favor options which take as first argument a text string instead of a file, to allow line wrapping. It is still possible to preserve the intended layout using white spaces for indentation. | ||
- | For instance,\\ dialog < | + | For instance, |
+ | | ||
+ | can be replaced with | ||
+ | | ||
==== Practical recommendations for translators ==== | ==== Practical recommendations for translators ==== | ||
Line 333: | Line 336: | ||
* The translation text should include a "new line" character (or line feed, represented by " | * The translation text should include a "new line" character (or line feed, represented by " | ||
* A single backslash character " | * A single backslash character " | ||
- | |||
- | To " | ||
To check your translation against gettext' | To check your translation against gettext' | ||
Line 351: | Line 352: | ||
Didier Spaier | Didier Spaier | ||
- | -====== Sources ====== | + | ====== Sources ====== |
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
{{tag> | {{tag> | ||