en:ARK/Traductions
fr:ARK/Traductions
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2019-01-19)

TRANSLATION METHODS for the ARK

The example was done with the event script « Computer_Voice » from the event :

» TESTS » Bepock » UserGuide » NewEvent » Nouvel event

Step 1
We can either enter plain text or we can enter [Trad/BBcode]. We will use trad.
Step 2
Here in the example we use the keyword : Here_Your_Keyword_For_A_Multilanguage_Text
Now we Click on "Submit" to come back to the GUI view of the script. If you do not click "Submit" the results will not be saved.
Step 3
Steps 4 & 5

((This is a French window. It should either be tagged for FR version of the manual or made to be an English picture.))

Steps 6 & 7
When you submit at that point, you will come back to your script. But you have to go to the Event level to actually manage translations because they are global data for the whole event and therefore for each script in it. This can be very useful as you will see !
Step 8
Step 9
Step 10
Step 11
You will have a new empty field if it is the first time you (or anyone else) makes the translation into that language.
In yellow you will have the default text in English, between the keyword and the translated text you are writing (12).
Step 12
Never forget to submit before changing the language (flags in step 11), or you will lose your latest edit.
Steps 13 & 14
Coming back your script, you can see your translated text in any language you entered in step (13). If a translation was not done into a specific language, you will see by default the English version (14).
This demo was done with « display a message » because it is and easy way for you to see the [trad] functionality. However, you shall see that the trad database is an event property.
So inside a script you can now use the string [trad]Here_Your_Keyord_For_A_Multilanguage_Text[/trad] anywhere you want : in a window title, in an NPC window or balloon. Further, you can use it anywhere in your event, thus avoiding having to do thousands of translations. You can also chain keywords, as in [trad]keyword_1[/trad] [trad]keyword_2[/trad] in order to build sentences from common fragments.

←ARK, guide

Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=ARK/Traductions&oldid=28199"