about openkore.pot

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
User avatar
howie50417
Developers
Developers
Posts: 8
Joined: 28 Feb 2013, 07:52
Noob?: Yes

about openkore.pot

#1 Post by howie50417 »

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

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
then I got error : ../Network/Receive/ServerType0.pm:3934: 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.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: about openkore.pot

#2 Post by kLabMouse »

howie50417 wrote: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

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
then I got error : ../Network/Receive/ServerType0.pm:3934: 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.
Sure Thing! We would be happy to have a new localizer in our Team.
Please, PM me with your SourceForge account name, if you want SVN Access.
Also, I recommend using *NIX OS to make a .pot file, or use build in PoEdit features.
Please note, that the collecting tool can make all other translations unusable. So if you gonna Commit to SVN, pay good look on what's updated.

Post Reply