Translating the resource
How to properly translate the resource
Firstly you can visit /shared/translations.lua
which translates code inside lua that is parsed to NUI:
Translations.InfoText = {
['preparing_z_coords'] = 'Preparing safe coords',
['preparing_heading'] = 'Preparing heading',
['preparing_new_coords'] = 'Preparing new coords',
['clothing_timer_text'] = 'Find a convenient place to dress your character.'
}
Then you can go to /client/html/js/variables.js
and edit whole file.
If the other things are not translated you can translate them in client/html/index.html
file.
Last updated