NSX (Translation string files)

From Blood Wiki
Revision as of 21:18, 2 July 2012 by VorteX (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

Translation strings file is .NSX files that stores string translations in the form string_id=translated_string.

Group are used as prefixes to string ids to make code shorter.

Example:

[menu_option]
res=Resolutions
windowed=Windowed
bpp=Bits Per Pixel

defines 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"
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox