| Both sides previous revisionPrevious revision | |
| custom:localization [2024/03/11 21:32] – links to gettext.js page digital man | custom:localization [2026/02/12 20:35] (current) – [Mechanisms] Clarify substrings can be changed localized too digital man |
|---|
| |
| ===== Mechanisms ===== | ===== Mechanisms ===== |
| * ''[[dir:ctrl]]/[[text.ini|text.lang.ini]]'' file can be used to replace ''text.dat'' and JavaScript text strings with translated/localized strings | * ''[[dir:ctrl]]/[[text.ini|text.lang.ini]]'' file can be used to replace ''text.dat'' strings/substrings with translated/localized strings/substrings |
| * ''[[dir:text]]/[[menu_files|menu/lang/*]]'' files can be used to replace menu files with translated/localized equivalents | * ''[[dir:text]]/[[menu_files|menu/lang/*]]'' files can be used to replace menu files with translated/localized equivalents |
| * The ''[JS]'' section of ''[[dir:ctrl]]/[[text.ini|text.lang.ini]]'' files can be used to replace any JavaScript strings that are passed-to/returned-from ''gettext()'' (see ''[[dir:load]]/[[custom:javascript:lib:gettext.js]]'') | * The ''[JS]'' section of ''[[dir:ctrl]]/[[text.ini|text.lang.ini]]'' files can be used to replace any JavaScript strings that are passed-to/returned-from ''gettext()'' (see ''[[dir:load]]/[[custom:javascript:lib:gettext.js]]'') |