NSX (Translation string files)
From Blood Wiki
(Difference between revisions)
m (VorteX moved page Translation string files to NSX (Translation string files) without leaving a redirect: misspelled) |
|||
Line 4: | Line 4: | ||
Groups are used as prefixes for string ids to make code shorter. | Groups are used as prefixes for string ids to make code shorter. | ||
+ | |||
+ | This files are only used in [[Translation | translation packs]. | ||
Example: | Example: |
Revision as of 21:24, 2 July 2012
Introduction
Translation strings file is .NSX files that store string translations in the form: string_id=translated_string.
Groups are used as prefixes for string ids to make code shorter.
This files are only used in [[Translation | translation packs].
Example:
[menu_option] res=Resolutions windowed=Windowed bpp=Bits Per Pixel
creates 3 strings:
menu_option_res=Resolutions menu_option_windowed=Windowed menu_option_bpp=Bits Per Pixel
Example of strings file contents:
[menu_btn] yes ="YES" no ="NO" back ="BACK" newgame ="NEW GAME" startgame ="START GAME" options ="OPTIONS" loadgame ="LOAD GAME" savegame ="SAVE GAME"