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
.Lang File Help .lang file: Placeholders [Solved]
ethics Offline
Member

Posts: 51
Threads: 18
Joined: Jan 2014
Reputation: 0
#5
RE: .lang file: Placeholders

(02-15-2014, 10:08 PM)Mudbill Wrote: This page might help a bit as well. Look at the "html" codes and use those. The page only has a limited amount of characters however, and I don't think the ones below are using the html codes, because I'm not getting them to work or show properly.

I'm thinking perhaps the font Amnesia is using does not support all the characters, but I think it would be strange if it didn't support accented letters as they are very basic characters.

Edit: I tested out a few things and found that if you add the line below at the very top of your file (before </LANGAUGE>), the file will be encoded so that you can use these characters directly in the file. The é and ä worked fine for me Big Grin

<?xml version="1.0" encoding="UTF-8" ?>

I've looked into some other german custom stories, and it hadn't
<?xml version="1.0" encoding="UTF-8" ?>
in it.
It was just like any other extra_english.lang file and it worked in amnesia.
I think you have to implement another file into your custom story, that shows the game how to display the letters correctly.
Anyways, i'll try out the line <?xml version="1.0" encoding="UTF-8" ?>.
Thanks to you!

EDIT:
No,it didnt work. If you could say where exactly to place the
<?xml version="1.0" encoding="UTF-8" ?>
it would maybe help me.

Do you do it like so:

<?xml version="1.0" encoding="UTF-8" ?>
<LANGUAGE>
(on the very top)

or

<?xml version="1.0" encoding="UTF-8" ?>
</LANGUAGE>
(on the bottom)?

Also, i'm gonna show you a picture of the description of my cs.

(02-15-2014, 10:08 PM)Mudbill Wrote: This page might help a bit as well. Look at the "html" codes and use those. The page only has a limited amount of characters however, and I don't think the ones below are using the html codes, because I'm not getting them to work or show properly.

I'm thinking perhaps the font Amnesia is using does not support all the characters, but I think it would be strange if it didn't support accented letters as they are very basic characters.

Edit: I tested out a few things and found that if you add the line below at the very top of your file (before </LANGAUGE>), the file will be encoded so that you can use these characters directly in the file. The é and ä worked fine for me Big Grin

<?xml version="1.0" encoding="UTF-8" ?>


Description:
As you can see, the game shows some very strange characters (polish or sth.) instead of the ''ä''.


Attached Files
.png   extra.PNG (Size: 110.92 KB / Downloads: 110)
.png   story2.PNG (Size: 151.58 KB / Downloads: 112)

(This post was last modified: 02-23-2014, 11:56 AM by ethics.)
02-23-2014, 11:35 AM
Find


Messages In This Thread
.lang file: Placeholders [Solved] - by ethics - 02-15-2014, 08:33 PM
RE: .lang file: Placeholders - by Mudbill - 02-15-2014, 10:08 PM
RE: .lang file: Placeholders - by ethics - 02-23-2014, 11:35 AM
RE: .lang file: Placeholders - by Traggey - 02-15-2014, 11:40 PM
RE: .lang file: Placeholders - by DnALANGE - 02-16-2014, 03:51 PM
RE: .lang file: Placeholders - by Mudbill - 02-23-2014, 03:57 PM
RE: .lang file: Placeholders - by ethics - 02-26-2014, 06:07 PM
RE: .lang file: Placeholders - by Mudbill - 02-26-2014, 06:43 PM
RE: .lang file: Placeholders - by ethics - 04-13-2014, 03:52 PM
RE: .lang file: Placeholders - by Mudbill - 04-13-2014, 09:57 PM
RE: .lang file: Placeholders - by ethics - 04-23-2014, 04:55 PM
RE: .lang file: Placeholders - by Mudbill - 04-23-2014, 06:08 PM
RE: .lang file: Placeholders - by ethics - 04-24-2014, 03:20 PM



Users browsing this thread: 1 Guest(s)