Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Sep 2014, 00:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Slovak translation is not saved.
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
lokotus738

Joined: 03 Aug 2013
Posts: 3

PostPosted: Sat 03 Aug 2013, 07:27    Post subject:  Slovak translation is not saved.
Subject description: Always starts at 17%
 

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.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 03 Aug 2013, 13:29    Post subject:  

Hello lokotus738,

recommended method for translation is using

menu > utility> momanager

in a recent official Puppy, ex: precise puppy 5.7

welcome Very Happy
Back to top
View user's profile Send private message 
lokotus738

Joined: 03 Aug 2013
Posts: 3

PostPosted: Sat 03 Aug 2013, 13:40    Post subject:  

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.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 03 Aug 2013, 14:00    Post subject: Re: Slovak translation is not saved.
Subject description: trash
 

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
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Sat 03 Aug 2013, 16:13    Post subject: Rox filer translation  

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.
Back to top
View user's profile Send private message 
lokotus738

Joined: 03 Aug 2013
Posts: 3

PostPosted: Sun 04 Aug 2013, 05:39    Post subject:  

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
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 04 Aug 2013, 07:03    Post subject: Slovak translation is not saved.
Subject description: Trash and other *xml.in files
 

Quote:
...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 Cool
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Tue 06 Aug 2013, 06:09    Post subject: Slovak translation is not saved.
Subject description: Trash and other *xml.in files
 

Insert that line
Code:
  sync #130806

in /usr/sbin/momanager
... and it should work Cool
Code:
  #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 Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0574s ][ Queries: 12 (0.0071s) ][ GZIP on ]