Page 1 of 3

Auto builds for spanish translation

Posted: Sun Mar 03, 2013 12:10 am
by stefano
Hi,
would be great have an auto-build for sp (spanish).

Re: Auto builds for spanish translation

Posted: Sun Mar 03, 2013 2:01 am
by stefano
I just noticed that I have to create a directory call "sp" in "data".

Re: Auto builds for spanish translation

Posted: Mon Mar 04, 2013 2:25 pm
by CleverMouse
Make sure that you have a recent local copy of the repository, copy data/eng to data/sp - for the command-line client command is 'svn copy data/eng data/sp' - change lang.inc to your language, commit. The commit will create a new folder for auto-build scripts.
You will probably also want to translate things like menu.dat and distr_data/*.txt, docs/*.txt, although auto-build scripts would be happy even without that.

Re: Auto builds for spanish translation

Posted: Mon Mar 04, 2013 9:06 pm
by stefano
Thank you for the explanation CleverMouse!

Re: Auto builds for spanish translation

Posted: Mon Mar 04, 2013 9:39 pm
by Freeman
Why sp but not es or spa?

Re: Auto builds for spanish translation

Posted: Mon Mar 04, 2013 9:52 pm
by yogev_ezra
Freeman wrote:Why sp but not es or spa?
Yes, I think we should make it consistent (either 3 letters for every build or 2 letters for all builds, but not combination of 2 and 3 letters). I also suggest we use "common" folder for everything that is common between the languages, and only use the separate folders for things that are different.

Re: Auto builds for spanish translation

Posted: Tue Mar 05, 2013 3:52 am
by stefano
I think that is not necessary more than two letters to identify a language. I'm using "sp" to make it easy for non-spanish developers, but I prefer "es".
However, after reading this article http://en.wikipedia.org/wiki/Language_code, I consider that we have to use this ISO http://en.wikipedia.org/wiki/ISO_639-3 for standarize the codes used.

You're right with the common folder.

Re: Auto builds for spanish translation

Posted: Tue Mar 05, 2013 9:49 pm
by Freeman
esevece wrote:I'm using "sp" to make it easy for non-spanish developers
Non-spanish developers also watch football, Olympics games or Formula-1 where these identifiers are using too.

Re: Auto builds for spanish translation

Posted: Tue Mar 05, 2013 10:26 pm
by stefano
Do not confuse "es" referencing "España" with "es" referencing "Español".
If you watch a football game where my country plays, you will see "uy" not "es".

I think that is not good to assume that all developers will understand "es". If you want to keep growing the Kolibri's team, you have to think that all developers are not like you. Standarization is the best way to accomplish it.

Re: Auto builds for spanish translation

Posted: Wed Mar 06, 2013 1:22 am
by Freeman
esevece wrote:If you watch a football game where my country plays, you will see "uy" not "es".
OK, my example was bad. Nevertheless ISO uses es abbreviation for Spanish language.

Re: Auto builds for spanish translation

Posted: Thu Mar 07, 2013 4:51 am
by stefano
Ok, but if we use the ISO that I posted the abbreviation is "spa" (http://www-01.sil.org/iso639-3/iso-639- ... 130123.tab).
If someone confirm that we will use some ISO I will use that for my translation to spanish.

Re: Auto builds for spanish translation

Posted: Wed Mar 13, 2013 7:54 pm
by stefano
Hi,
when I run "make", I get this error:

Code: Select all

tmpfile=`mktemp --tmpdir build.XXXXXXXX` && (fasm -m 65536 "../../programs/media/scrshoot/scrshoot.asm" "scrshoot" -s $tmpfile && fasmdep -e $tmpfile > .deps/scrshoot.Po && rm $tmpfile) || (rm $tmpfile; false)
flat assembler  version 1.70.03  (65536 kilobytes memory)
../../programs/media/scrshoot/scrwin.inc [9]:
        wait_event .red, .close
../../programs/media/scrshoot/scrshoot.mac [55] wait_event [14]:
if <button> eq <>
error: invalid expression.
make: *** [scrshoot] Error 1
Some suggestion?

Re: Auto builds for spanish translation

Posted: Wed Mar 13, 2013 8:15 pm
by dunkaist
Try attached scrshoot.mac. Feel free to test it properly and commit.

Re: Auto builds for spanish translation

Posted: Wed Mar 13, 2013 9:05 pm
by stefano
dunkaist wrote:Try attached scrshoot.mac. Feel free to test it properly and commit.
It worked.
Thank you!

Re: Auto builds for spanish translation

Posted: Wed Mar 13, 2013 9:10 pm
by stefano
Now I get the next error:

Code: Select all

win32-cl /c /O2 /Os /Oy /GF /GS- /GR- /EHs-c- /fp:fast /GL /QIfist /Gr /DAUTOBUILD /Fo.obj.graph/func.obj Z:../../programs/other/graph/func.cpp >&2
/bin/sh: 1: win32-cl: not found
make: *** [.obj.graph/func.obj] Error 127