The locales configuration (config/locales.lua) allows you to customize all UI text for your server's language or branding.
All text displayed in the creation menu UI can be customized through the Locales table. This enables full localization and custom branding.
config/locales.luaLocales = { -- Header text subHeader = 'CREATE YOUR DESIRED LOOK', -- Parent selection labels Father_text = 'FACE 1', Mother_text = 'FACE 2', -- Item labels Item_text = 'ITEM', Texture_text = 'TEXTURE', Opacity_text = 'OPACITY', -- Button labels discard = 'DISCARD', default_text = 'DEFAULT', blank_text = 'BLANK', -- Help text clothes_on_of_help_text = 'put clothes off/on', Expand_help_text = 'CLICK HERE TO EXPAND...', Shrink_help_text = 'CLICK AGAIN TO SHRINK...' }
The main subtitle shown at the top of the creation menu:
config/locales.luaLocales.subHeader = 'CREATE YOUR DESIRED LOOK'
Examples:
'CREATE YOUR DESIRED LOOK''CREA TU LOOK DESEADO''ERSTELLE DEINEN LOOK''CRĂEZ VOTRE LOOK'Labels for the heritage/face selection:
config/locales.luaLocales.Father_text = 'FACE 1' Locales.Mother_text = 'FACE 2'
| Locale | Default | Description |
|---|---|---|
Father_text | 'FACE 1' | First parent face label |
Mother_text | 'FACE 2' | Second parent face label |
Alternative labels:
'FATHER' / 'MOTHER''PARENT 1' / 'PARENT 2''HERITAGE 1' / 'HERITAGE 2'Labels for clothing/appearance selection:
config/locales.luaLocales.Item_text = 'ITEM' Locales.Texture_text = 'TEXTURE' Locales.Opacity_text = 'OPACITY'
| Locale | Default | Used For |
|---|---|---|
Item_text | 'ITEM' | Clothing item selection |
Texture_text | 'TEXTURE' | Texture/color variant |
Opacity_text | 'OPACITY' | Overlay opacity slider |
Action button text:
config/locales.luaLocales.discard = 'DISCARD' Locales.default_text = 'DEFAULT' Locales.blank_text = 'BLANK'
| Locale | Default | Description |
|---|---|---|
discard | 'DISCARD' | Cancel/discard changes button |
default_text | 'DEFAULT' | Reset to default option |
blank_text | 'BLANK' | Empty/none option |
Instructional text shown in the UI:
config/locales.luaLocales.clothes_on_of_help_text = 'put clothes off/on' Locales.Expand_help_text = 'CLICK HERE TO EXPAND...' Locales.Shrink_help_text = 'CLICK AGAIN TO SHRINK...'
| Locale | Default | Description |
|---|---|---|
clothes_on_of_help_text | 'put clothes off/on' | Toggle clothes tooltip |
Expand_help_text | 'CLICK HERE TO EXPAND...' | Expand section hint |
Shrink_help_text | 'CLICK AGAIN TO SHRINK...' | Collapse section hint |
config/locales.luaLocales = { subHeader = 'CREA TU LOOK DESEADO', Father_text = 'PADRE', Mother_text = 'MADRE', Item_text = 'ARTĂCULO', Texture_text = 'TEXTURA', Opacity_text = 'OPACIDAD', discard = 'DESCARTAR', default_text = 'PREDETERMINADO', blank_text = 'VACĂO', clothes_on_of_help_text = 'quitar/poner ropa', Expand_help_text = 'CLIC PARA EXPANDIR...', Shrink_help_text = 'CLIC PARA REDUCIR...' }
config/locales.luaLocales = { subHeader = 'ERSTELLE DEINEN LOOK', Father_text = 'VATER', Mother_text = 'MUTTER', Item_text = 'ARTIKEL', Texture_text = 'TEXTUR', Opacity_text = 'DECKKRAFT', discard = 'VERWERFEN', default_text = 'STANDARD', blank_text = 'LEER', clothes_on_of_help_text = 'Kleidung an/aus', Expand_help_text = 'KLICKEN ZUM ERWEITERN...', Shrink_help_text = 'KLICKEN ZUM VERKLEINERN...' }
config/locales.luaLocales = { subHeader = 'CRĂEZ VOTRE LOOK', Father_text = 'PĂRE', Mother_text = 'MĂRE', Item_text = 'ARTICLE', Texture_text = 'TEXTURE', Opacity_text = 'OPACITĂ', discard = 'ANNULER', default_text = 'DĂFAUT', blank_text = 'VIDE', clothes_on_of_help_text = 'enlever/mettre vĂȘtements', Expand_help_text = 'CLIQUEZ POUR AGRANDIR...', Shrink_help_text = 'CLIQUEZ POUR RĂDUIRE...' }
config/locales.luaLocales = { subHeader = 'CRIE SEU VISUAL', Father_text = 'PAI', Mother_text = 'MĂE', Item_text = 'ITEM', Texture_text = 'TEXTURA', Opacity_text = 'OPACIDADE', discard = 'DESCARTAR', default_text = 'PADRĂO', blank_text = 'VAZIO', clothes_on_of_help_text = 'tirar/colocar roupa', Expand_help_text = 'CLIQUE PARA EXPANDIR...', Shrink_help_text = 'CLIQUE PARA REDUZIR...' }
You can customize text for your server's branding:
config/locales.luaLocales = { subHeader = 'WELCOME TO MYSERVER - CHARACTER CREATION', Father_text = 'GENETICS A', Mother_text = 'GENETICS B', -- ... etc }
The web UI also has localization support in the TypeScript files:
web/src/component/userConfigFn/locales.tsexport class="token keyword">const locales = { en: { save: class="token string">"Save", cancel: class="token string">"Cancel", class="token comment">// ... more strings }, es: { save: class="token string">"Guardar", cancel: class="token string">"Cancelar", class="token comment">// ... more strings } }
For full NUI localization, you may need to modify the TypeScript files in web/src/ and rebuild the UI.
Last updated 27 days ago