
tnx for help.
Moderator: OpenTTD Developers
fabca2 wrote:Hello,
I translated this nice script into french.
I could not perform any test, once I place french.txt on lang folder I have a message telling me that STR_GLOBAL_GOAL_CB does not exist, which is wrong of course.
This is well known when translated file is not in UTF8 format (see for example http://www.tt-forums.net/viewtopic.php? ... e#p1069046)
But this is not the case, file is UTF8 encoded.
And even worth, if I just copy english.txt into whatever.txt without even opening the file, I got exactly the same message!
It looks strange to me, I suppose it's not a bug (I'm using stable 1.3.2) it's probably something I didn't understood...
That's a little bit frustrating, it's my first translation attempt, if someone can help me.
Thank you.
whatever, I attached the file, it may works for you ?
attachment is the simplified chinese txt. please test it.Honza_ wrote:Ask the author of the translation to fix it.
Currently only english and czech are shipped with the script. If you want to add another language to it, no problem, send me working translation and I will add it in next release.
In my last post, I have describe that the same txt work well in the last version of Simple City Builder GS, but crash in the newest 2014.5.11 version.Honza_ wrote:I said, give me working translation. Why did you post here a file that crashes script immediately after start? Can't you test that yourself?
Just from the look at the file, you have some basic trasnlation errors here. I recommend you to study how to properly translate certain OpenTTD string codes. You can use czech language file and compare it with english to see how some OpenTTD string codes should look like.
That's the same problem as with the french translation before.
Second, the different of czech lang file and english lang file is the section ofdbg: [script] english:126: error: Undefined command 'SKIP'
dbg: [script] english:126: error: Undefined command 'SKIP'
dbg: [script] english:46: error: Undefined command 'SKIP'
dbg: [script] english:46: error: Undefined command 'SKIP'
dbg: [script] czech:102: error: Undefined command 'SKIP'
dbg: [script] czech:46: error: Undefined command 'SKIP'
dbg: [script] czech:46: error: Undefined command 'SKIP'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #1 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #2 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #3 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #4 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #5 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:76: warning: STR_TOWNGUI: Param idx #6 'STRING'
doesn't match with template command 'STRING2'
dbg: [script] simplified_chinese:126: error: Undefined command 'SKIP'
dbg: [script] simplified_chinese:46: error: Undefined command 'SKIP'
dbg: [script] simplified_chinese:46: error: Undefined command 'SKIP'
dbg: [net] Map generation percentage complete: 95
dbg: [net] Map generated, starting game
in the czech lang file ,this section is deleted, and this section is the reason cause the waring alarm in the openttd starting log. if I delete this section in simplified_chinese.txt, the txt lang file will work well. @fabca2,you can try this way in your french lang txt.#dummy
STR_EMPTY0 :
STR_EMPTY1 :{SKIP}
STR_EMPTY2 :{STRING}{STRING}
STR_EMPTY3 :{STRING}{STRING}{STRING}
STR_PLUS :+
Sorry, our mail server currently has some issues and is a bit slow. I activated your account manually. When the confirmation e-mail arrives you can thus ignore it.bolemeus wrote:Hey Honza,
I registered an account at openttdcoop devzone, but I guess it's still pending.
Can't login yet, can't use the forgot my pass option, and I can't register again.
Anyway, when I receive a confirmation email that my account has been created I'll set up a translator account, so I can pass my translation to the validator and see if it validates.
If so I'll guess you'll receive notification.
I don't know whether it does or whether it can (but I think so, if not it's a very valid feature request): it could simply read and (re)use the city growth setting so that it maintains about the same functionality when using this script.Gigigonzalez wrote:And a request to be able to configure city behavior too would be great, and additional town/city grow speed multiplier,
Yeah. I used to use City Builder script from Aphid i believe his name, though the script is very complex, i believe it is a little bit too complex and uses quite some resources. also it starts to bug out with huge maps, even if the town/city number isnt all that high. Also it doesnt seem to be able to replace buildings, it just expands and thats about it. He says there is no reliable way to demolish buildings and replace it with new stuff. Simple city builder seems to be able to mimic about the exact original TT town build algorithm, or it actually uses the built-in openttd city expand functionality and base the requirements on that instead.planetmaker wrote:I don't know whether it does or whether it can (but I think so, if not it's a very valid feature request): it could simply read and (re)use the city growth setting so that it maintains about the same functionality when using this script.Gigigonzalez wrote:And a request to be able to configure city behavior too would be great, and additional town/city grow speed multiplier,
Sorry my bad, i will do just thatHonza_ wrote:Hi,
Gigigonzalez, I'd add a request to read readme, settings description and playing some games with the script, please
That will give you answer to your question and you'll see there is setting to configure town growth, which is also dependant on the OpenTTD setting Town Growth speed.
Users browsing this forum: No registered users and 9 guests