Translating mods/game to other languages - please help

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Davv
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Tue Feb 10, 2015 9:17 am
Contact:

Translating mods/game to other languages - please help

Post by Davv »

Hi guys. I need help, because I can't solve it.
I want to translate some mods to Polish language. But when I do special signs, like ą, ó, ę(Polish diacritic signs), then the game don't load names of those items. As I saw in /locale/pl of basemod, it uses special signs to make those letters appear. How to make those signs? Is there an easy way, or just what I can is copying those signs from basemod to mod's /locale ?
Factorio translator(EN<->PL)
Factorio mods translator(EN<->PL)
Wiki translator(EN<->PL) - waiting for approval
Wiki contributor(EN, PL) - waiting for approval

Do you want your mod to be translated? Request it there: Click!

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Translating mods/game to other languages - please help

Post by cube »

This sounds like a problem with encodings. All the files should be in UTF-8. Make sure that your editor uses this. If the editor encoding is correct, you will be able to see the special characters in core locales without problems.

Davv
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Tue Feb 10, 2015 9:17 am
Contact:

Re: Translating mods/game to other languages - please help

Post by Davv »

Still doesn't works. Now text resets to original english translation. I tried setting UTF8 with Notepad, and then again with Notepad++, and in both cases it didn't worked. Can you help me?
There's mod with my translation included(pl):

Code: Select all

http://speedy.sh/rdabx/Treefarm-Lite-0.1.3.zip
I have problem with script-locale/pl.cfg line 1, msg_buildingFail text.

Other translations, like that: tf-medium-tree=Dojrzewające drzewo
show only up to "Dojrzewaj" as shown upper, and then nothing else shows.
It's located in locale/pl/entity-names.cfg
Factorio translator(EN<->PL)
Factorio mods translator(EN<->PL)
Wiki translator(EN<->PL) - waiting for approval
Wiki contributor(EN, PL) - waiting for approval

Do you want your mod to be translated? Request it there: Click!

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Translating mods/game to other languages - please help

Post by cube »

You have BOM at the beginning of the file. Our parser can't handle it and ignores the whole file switching back to english. Whether to use BOM should be also selectable in the text editor.

Davv
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Tue Feb 10, 2015 9:17 am
Contact:

Re: Translating mods/game to other languages - please help

Post by Davv »

☺ Thanks, it works flawlessy now Image
Factorio translator(EN<->PL)
Factorio mods translator(EN<->PL)
Wiki translator(EN<->PL) - waiting for approval
Wiki contributor(EN, PL) - waiting for approval

Do you want your mod to be translated? Request it there: Click!

Davv
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Tue Feb 10, 2015 9:17 am
Contact:

Re: Translating mods/game to other languages - please help

Post by Davv »

To don't make many topics(and sorry for double post), where can I translate the game? In basemod directory, or on crowdin page?
Factorio translator(EN<->PL)
Factorio mods translator(EN<->PL)
Wiki translator(EN<->PL) - waiting for approval
Wiki contributor(EN, PL) - waiting for approval

Do you want your mod to be translated? Request it there: Click!

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Translating mods/game to other languages - please help

Post by cube »

Crowdin.

Post Reply

Return to “Technical Help”