TorNix~|nR Posted July 15, 2016 Share Posted July 15, 2016 hi everyone, can anyone tell me how can I make 3 language in my server please? for exp: my server language is English, I need to Add english,frensh,arabic,spanish... etc Link to comment
dugasz1 Posted July 15, 2016 Share Posted July 15, 2016 You can do it any ways you want. But there is an example: https://community.multitheftauto.com/in ... ls&id=2175 This resource can handle multi language strings as much as you want. (Saved in xml files) Link to comment
TorNix~|nR Posted July 15, 2016 Author Share Posted July 15, 2016 I need to make multi language for panels, messages... etc Link to comment
dugasz1 Posted July 15, 2016 Share Posted July 15, 2016 Then it's looks good for you. call: loadText( language, thestringname, theresourcename) returns: with the string in the seted language You can sort your language files by resources. So for example you have a resources named "gui". You create a gui.xml for this resource. <language> <guiLoop> <!--This is [b]thestringname[/b]--> <POL>Stwórz loopa (pętle)</POL> <!--Heres the languages--> <ENG>Create loop</ENG> <RUS>Create loop</RUS> <GER>Create loop</GER> <TUR>Create loop</TUR> </guiLoop> <guiWall> <POL>Stwórz wallride</POL> <ENG>Create wallride</ENG> <RUS>Create wallride</RUS> <GER>Create wallride</GER> <TUR>Create wallride</TUR> </guiWall> <guiRamp> <POL>Stwórz wyskok</POL> <ENG>Create ramp</ENG> <RUS>Create ramp</RUS> <GER>Create ramp</GER> <TUR>Create ramp</TUR> </guiRamp> </language> Link to comment
OfficialLive Posted July 16, 2016 Share Posted July 16, 2016 https://community.multitheftauto.com/in ... s&id=12594 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now