Jump to content

Multi Language


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...