Frictional Games Forum (read-only)
Want to translate the game to my language, but there is a problem. - 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: Want to translate the game to my language, but there is a problem. (/thread-30158.html)

Pages: 1 2


Want to translate the game to my language, but there is a problem. - TiManGames - 06-22-2015

I already have the font and all this, but when I translate notes, I need that the letters would go from right to left, not left to right. There is any way I can change the Aligan text direction?


RE: Want to translate the game to my language, but there is a problem. - Mudbill - 06-22-2015

Hmm... that's a tricky one. I'm not sure if that's possible. Perhaps it's a feature of the font itself? Have you tried using the font with unicodes to display your characters? Does it just show up left to right?


RE: Want to translate the game to my language, but there is a problem. - TiManGames - 06-22-2015

(06-22-2015, 06:10 PM)Mudbill Wrote: Hmm... that's a tricky one. I'm not sure if that's possible. Perhaps it's a feature of the font itself? Have you tried using the font with unicodes to display your characters? Does it just show up left to right?

I did, actually. I didn't see if it's show up left to right though. But what I actually did is to copy the shape of each character of my language and replace it with the English characters.


RE: Want to translate the game to my language, but there is a problem. - Mudbill - 06-22-2015

If you replace, then it will be English alignment because the game still thinks it's English. You should try using unicodes instead. For example if you wanted ä, you'd write [u00E4].

Look up the codes somewhere to see what they are.


RE: Want to translate the game to my language, but there is a problem. - TiManGames - 06-22-2015

(06-22-2015, 10:17 PM)Mudbill Wrote: If you replace, then it will be English alignment because the game still thinks it's English. You should try using unicodes instead. For example if you wanted ä, you'd write [u00E4].

Look up the codes somewhere to see what they are.


So if I'll change the unicodes so it'll change the direction in amnesia?

Example:

Hello
שלום



RE: Want to translate the game to my language, but there is a problem. - Mudbill - 06-22-2015

I don't know. Probably not, but worth a shot.


RE: Want to translate the game to my language, but there is a problem. - TiManGames - 06-25-2015

(06-22-2015, 10:58 PM)Mudbill Wrote: I don't know. Probably not, but worth a shot.


Ok, I added the new language codea to my fnt file.

xxx_xxx_00 - English
xxx_xxx_01 - English
Xxx_xxx_02.dds - My language

Now, in the game the font will work, but it won't show the right characters. Example:

What I wrote:

א

What I see in the game:

)


RE: Want to translate the game to my language, but there is a problem. - Mudbill - 06-25-2015

Try to write [u05D0] into your lang file and see what happens.


RE: Want to translate the game to my language, but there is a problem. - TiManGames - 06-26-2015

(06-25-2015, 11:07 PM)Mudbill Wrote: Try to write [u05D0] into your lang file and see what happens.

It's Invisible in the game.


RE: Want to translate the game to my language, but there is a problem. - TiManGames - 06-26-2015

(06-22-2015, 10:58 PM)Mudbill Wrote: I don't know. Probably not, but worth a shot.


Ok, let's say I don't care about the direction problem.

How am I gonna add the new font anyway?

I mean, I added the hebrew char id to font_deafult.fnt and added the texture.

I mean, the lang file takes the right id from the hebrew letters, but shows different textures in the game.