about openkore.pot
Posted: 28 Feb 2013, 09:23
I'm twRo player and I have poor English but I will try hard to express.
It's about location file in the \src\po .
There's a file like a model used for localization translation, "openkore.pot"
Anyone who want to make localization can use the software "Poedit", load the "openkore.pot", and translate one by one.
But I found that it's last maintained was 2012/5/22 .
And many sentence lost from translation.
So I tried to maintain it by myself under windows os.
I modified update.sh into update.bat
then I got error : ../Network/Receive/ServerType0.pm invalid variable interpolation at "@"
so I modified ServerType0.pm:3934 ~ 3937
change every @ into \@
then I pass the error check and successfully create the pot file.
I want to ask why I got error? and if it cause bug that I modified @ into \@ ?
Result:
only ../*.pm ../Network/*.pm ../Network/Receive/*.pm ../Network/Send/*.pm ../Poseidon/EmbedServer.pm ../AI/*.pm ../Task/*.pm ../../openkore.pl ../functions.pl
https://www.dropbox.com/s/a4u1bhs376v6mkq/openkore.pot
every perl file under openkore
https://www.dropbox.com/s/fff3opbre29b895/default.pot
btw,
If I want to maintain the zh_tw localization of openkore SVN, what should I do?
I have already done lot of part of openkore zh_tw localization, and share the works on private forum.
If I can share it through the official SVN or not?
Thx for patiently reading and answering my questions.
It's about location file in the \src\po .
There's a file like a model used for localization translation, "openkore.pot"
Anyone who want to make localization can use the software "Poedit", load the "openkore.pot", and translate one by one.
But I found that it's last maintained was 2012/5/22 .
And many sentence lost from translation.
So I tried to maintain it by myself under windows os.
I modified update.sh into update.bat
Code: Select all
"D:\Program Files (x86)\Poedit\bin\xgettext.exe" -L Perl --force-po -o openkore.pot --keyword=T --keyword=TF ../*.pm ../Network/*.pm ../Network/Receive/*.pm ../Network/Send/*.pm ../Poseidon/EmbedServer.pm ../AI/*.pm ../Task/*.pm ../../openkore.pl ../functions.pl
so I modified ServerType0.pm:3934 ~ 3937
change every @ into \@
then I pass the error check and successfully create the pot file.
I want to ask why I got error? and if it cause bug that I modified @ into \@ ?
Result:
only ../*.pm ../Network/*.pm ../Network/Receive/*.pm ../Network/Send/*.pm ../Poseidon/EmbedServer.pm ../AI/*.pm ../Task/*.pm ../../openkore.pl ../functions.pl
https://www.dropbox.com/s/a4u1bhs376v6mkq/openkore.pot
every perl file under openkore
https://www.dropbox.com/s/fff3opbre29b895/default.pot
btw,
If I want to maintain the zh_tw localization of openkore SVN, what should I do?
I have already done lot of part of openkore zh_tw localization, and share the works on private forum.
If I can share it through the official SVN or not?
Thx for patiently reading and answering my questions.