Frictional Games Forum (read-only)
LANG files. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: LANG files. (/thread-5924.html)

Pages: 1 2


RE: LANG files. - snowninja13 - 01-01-2011

(12-31-2010, 05:39 PM)kotuso Wrote: Yes, there is a custom stories folder, and I did place the lang file in a folder I created in there, but I still don't get the description when I load amnesia. I have never had a redist directory though.
Yes! Ive had the same problem now, I put my .lang file in my custom story folder, but nothing works. I put Test_01 in the NoteText section of the notes entity tab, but when I save nothing happens.

Heres where I put it.
|
V

C:\Program Files (x86)\Steam\steamapps\common\amnesia the dark descent\custom_stories\Shattered



<LANGUAGE>
<RESOURCES />
<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name">Test Note</Entry>
<Entry Name="Note_Test01_Text">This note is a test.</Entry>
</CATEGORY>
</LANGUAGE>

Thats my lang file...
When I make my lang file, is it alright for me to copy the existing english lang file, delete the internal contents and rename it extra_english???


RE: LANG files. - HumiliatioN - 01-01-2011

(12-31-2010, 05:39 PM)kotuso Wrote: Yes, there is a custom stories folder, and I did place the lang file in a folder I created in there, but I still don't get the description when I load amnesia. I have never had a redist directory though.

Have you done this? Already just for checking:

check first this: Press ALT then -> Tools -> Folder Options -> View then unmark this " Hide extensions for known filetypes"

Then you have right lang. file i think so..

If that doesnt work then i dont know whats the problem because your code is right..

Weird :S


RE: LANG files. - kotuso - 01-02-2011

Okay, I figured out what I did wrong, but now I feel like an idiot. It turns out that the file was indeed a .lang file, but on one </Entry> tag I put </entry> instead of </Entry>. Boy am I glad that I'm not going into programming. Luckily, everything works now.


RE: LANG files. - HumiliatioN - 01-02-2011

(01-02-2011, 05:08 AM)kotuso Wrote: Okay, I figured out what I did wrong, but now I feel like an idiot. It turns out that the file was indeed a .lang file, but on one </Entry> tag I put </entry> instead of </Entry>. Boy am I glad that I'm not going into programming. Luckily, everything works now.

Yep everyone makes little mistakes a lot Smile Now you know Tongue