Slovak translation is not saved.

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
lokotus738
Posts: 3
Joined: Sat 03 Aug 2013, 11:07

Slovak translation is not saved.

#1 Post by lokotus738 »

Hi, i have recently come across Puppy linux and i have start some translation. As first i want to translate Rox-Filer but have some strange problems.

Even when i start a new translation (i delete lang. files in usr/local/apps/rox-filer) the translation is already at 17%, but when i translate some strings nothing is saved, every time when i start it is always at 17%

And can someone tell me how to add xml files in my language pet i have translated trash xml but they when i install lang pet on other puppy this files are untranslated.

Thx for any info.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#2 Post by L18L »

Hello lokotus738,

recommended method for translation is using

menu > utility> momanager

in a recent official Puppy, ex: precise puppy 5.7

welcome :D

lokotus738
Posts: 3
Joined: Sat 03 Aug 2013, 11:07

#3 Post by lokotus738 »

i am using MoManager even the latest one created by you. Forget to mention i am on latest precise, and this was happened on previous version too.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Slovak translation is not saved.

#4 Post by L18L »

Let us start with this one:
lokotus738 wrote:...And can someone tell me how to add xml files in my language pet i have translated trash xml but they when i install lang pet on other puppy this files are untranslated.
Which one did you translate?

/usr/local/apps/Trash/AppInfo.xml (WOOF)
/usr/local/apps/Trash/template/AppInfo.xml (WOOF)

Or both?



edit
Until tomorrow. Good night

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

Rox filer translation

#5 Post by rodin.s »

For ROX-filer you should translate not xml but pot-file. MoManager is confusing with ROX-filer.
Some info here. You should translate pot-file making po out of it.

lokotus738
Posts: 3
Joined: Sat 03 Aug 2013, 11:07

#6 Post by lokotus738 »

to L18L: exactly this xml files

to rodin.s: thx for the info this solve my problem there was some sk.po i deleted it and now
everything works as should

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Slovak translation is not saved.

#7 Post by L18L »

...and pinstall.sh of langpack has to take the lines containing
xml:lang="your language"
in /usr/local/apps/Trash/AppInfo.xml
and merge them into /usr/local/apps/Trash/AppInfo.xml.
...I tried to use that latest langpack in an old pup (BareBoneracy) and apps/*/AppInfo.xml.in files have not been copied!
That can narrow down the search 8)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Slovak translation is not saved.

#8 Post by L18L »

Insert that line

Code: Select all

  sync #130806
in /usr/sbin/momanager
... and it should work 8)

Code: Select all

  #130503 L18L: rename AppInfo.xml to AppInfo.xml.in for langpack (see also /usr/share/doc/langpack-template/pinstall.sh in Woof)
  sync #130806
  for AFILE in `ls -1 /root/langpack_${GENLANG}-${ADATE}/usr/local/apps/*/AppInfo.xml | tr '\n' ' '`
  do
   mv $AFILE "${AFILE}.in"
  done
Thanks lokotus738 for reporting :D

Post Reply