Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code for different languages?
Author Message
rocket99 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jun 2011
Reputation: 0
#1
Code for different languages?

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.
06-30-2011, 12:54 PM
Find Reply
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Code for different languages?

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:

<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
Find Reply
rocket99 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jun 2011
Reputation: 0
#3
RE: Code for different languages?

(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:

<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.
06-30-2011, 04:07 PM
Find Reply




Users browsing this thread: 1 Guest(s)