Frictional Games Forum (read-only)

Full Version: Code for different languages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyone have the file names that would correspond with different languages?

extra_english.lang = English... so I'm assuming extra_french.lang would be French and extra_russian.lang would be Russian?

It would help me a lot if you guys could help me in the way, since I'm fluent in Russian and French, I would like some of my friends who mostly speak their native language play it.
You can choose a few different languages that include English, French, and Russian. All you do to make it work is call it "extra_[language].lang" and type out the text shown in that language. Example:

extra_french.lang

This was copied from L'antre de la peur custom story:

Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    
    <CATEGORY Name="Journal">
    <Entry Name="Note_MyNote1_Name">In nomine Patris</Entry>
<Entry Name="Note_MyNote1_Text">Ci gît le Chevalier </Entry>

<Entry Name="Note_MyNote_Name">Journal 2/3</Entry>
<Entry Name="Note_MyNote_Text">L'opression se fait de plus en plus pesante, je dois partir.
Heureusement que j'ai fait un double des clefs ça va me permettre de laisse l'original dans la pièce au cas ou une autre personne passe.
Je l'ai mise Hors de porté de ces abominations. Si quelqu'un trouve cette note la clefs est ... *plusieur tâches d'encre rendent la suite illisible</Entry>
</CATEGORY>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">niveau test.</Entry>
    </CATEGORY>
    <CATEGORY Name="Ending">
        <Entry Name="MyCredits">- A GUILLAUME PRODUCTION -[br][br][br] - L'antre de la peur - [br][br][br]*Ideas:[br]Guillaume[br][br][br]*Level Design:[br]Guillaume[br][br][br]*Scripting:[br]Guillaume[br][br][br][br][br]*Special thanks to:[br]FRICTIONAL GAMES[br][br][br]</Entry>
    </CATEGORY>

</LANGUAGE>
(06-30-2011, 01:33 PM)Kyle Wrote: [ -> ]You can choose a few different languages that include English, French, and Russian. All you do to make it work is call it "extra_[language].lang" and type out the text shown in that language. Example:

extra_french.lang

This was copied from L'antre de la peur custom story:

Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    
    <CATEGORY Name="Journal">
    <Entry Name="Note_MyNote1_Name">In nomine Patris</Entry>
<Entry Name="Note_MyNote1_Text">Ci gît le Chevalier </Entry>

<Entry Name="Note_MyNote_Name">Journal 2/3</Entry>
<Entry Name="Note_MyNote_Text">L'opression se fait de plus en plus pesante, je dois partir.
Heureusement que j'ai fait un double des clefs ça va me permettre de laisse l'original dans la pièce au cas ou une autre personne passe.
Je l'ai mise Hors de porté de ces abominations. Si quelqu'un trouve cette note la clefs est ... *plusieur tâches d'encre rendent la suite illisible</Entry>
</CATEGORY>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">niveau test.</Entry>
    </CATEGORY>
    <CATEGORY Name="Ending">
        <Entry Name="MyCredits">- A GUILLAUME PRODUCTION -[br][br][br] - L'antre de la peur - [br][br][br]*Ideas:[br]Guillaume[br][br][br]*Level Design:[br]Guillaume[br][br][br]*Scripting:[br]Guillaume[br][br][br][br][br]*Special thanks to:[br]FRICTIONAL GAMES[br][br][br]</Entry>
    </CATEGORY>

</LANGUAGE>

Thank you sir! Kudos to you.