Openkore.com

OpenKore Forums
It is currently 26 Apr 2017, 03:49

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: about openkore.pot
PostPosted: 28 Feb 2013, 09:23 
Offline
Developers
Developers

Joined: 28 Feb 2013, 07:52
Posts: 8
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:
"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.


Top
 Profile  
 
 Post subject: Re: about openkore.pot
PostPosted: 06 Mar 2013, 16:46 
Offline
Administrator
Administrator
User avatar

Joined: 24 Apr 2008, 12:02
Posts: 1303
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:
"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.

_________________
Join our Team. Click here.
Image


Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group