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 Fri 23 Feb 2018, 00:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
official (momanager) language packs
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 17 of 20 [298 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18, 19, 20 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 4922
Location: Ontario

PostPosted: Thu 12 Feb 2015, 15:44    Post subject:  

Quote:
transLANG, the language which is translated to
is taken from /root/.config/momanager


That explains why I was deleting /tmp/momanager and the lang name
wouldn't change Embarassed
____________________________________________
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Fri 13 Feb 2015, 05:54    Post subject:  

don570 wrote:
Embarassed

No reason for Embarassed
Understanding each other has never been easy. Smile
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8429
Location: Perth, Western Australia

PostPosted: Sun 08 Mar 2015, 11:10    Post subject:  

don570 wrote:
I tried the newest APril64 again and it opened up the script properly this time Laughing
however there was one bug I noticed ---->

The first language that I used with momanager was French.
Then I switched to the Italian language. The heading still stated 'fr'
(see image)


I tried this in another fresh install . I started in English and switched to French and
the heading stated 'en'


I noticed this today and fixed it.

I have edited L18L's momanager of 20141123-1.

yaf-splash is deprecated in Quirky, in favour of 'popup'.
Which was why I started to edit 'momanager' script -- to use popup if it exists.
Note, it also needs another script named 'popadd', that will be in the next release of Quirky.

Then while testing momanager, I found other things to fix, such as the bug reported by don570.

Note, I have my doubts about that CONFIG file, and being able to translate to a language that is not the current locale.
Seems a bit odd. But someone must have wanted it.

Here is my PET:
http://distro.ibiblio.org/quirky/quirky6/noarch/packages/pet_packages-noarch/momanager-20150308.pet

...but the only thing different inside it is the /usr/sbin/momanager script, which you can extract and use.
I have commented my changes.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 08 Mar 2015, 13:04    Post subject:  

BarryK wrote:
Note, I have my doubts about that CONFIG file, and being able to translate to a language that is not the current locale.
Seems a bit odd. But someone must have wanted it.

Our multi-language talented translator vicmz uses different svefiles for different languages.

Momanager was never intended to be used for more than 1 language.

don570 has tried, failed and I think understood that it is for one non-English language only, I am hoping.

transLANG's only purpose is to differetiete between long or short language code, e.g. pt or pt_BR, nl or nl_BE, de or de_AT, etc.

Barry, thanks for the pet, some problems killed by simple kill commands. Laughing
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8429
Location: Perth, Western Australia

PostPosted: Mon 09 Mar 2015, 08:37    Post subject:  

Alright, I have tried to resolve the problems with transLANG, seems OK:

http://distro.ibiblio.org/quirky/quirky6/noarch/packages/pet_packages-noarch/momanager-20150309.pet

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Mon 09 Mar 2015, 09:50    Post subject:  

BarryK wrote:
Alright, I have tried to resolve the problems with transLANG, seems OK:

http://distro.ibiblio.org/quirky/quirky6/noarch/packages/pet_packages-noarch/momanager-20150309.pet

Thank you.
Tested

One small addition, a refresh
needed for the furious multi language translators only:
Insert
Code:
refresh

after line 173

Code:
#150309 do not allow transLANG to be changed to anything other than current locale
# (note, if was allowed, would have to check /usr/lib/locale has it, but I still don't like idea of translating to a different language then current locale).
xtransLANG="$(grep '^transLANG' $CONFIG | cut -f 2 -d '=' | cut -f 1 -d ' ')"
if [ "$(echo -n "$ORIGLANG12" | grep "$xtransLANG")" == "" ];then
 pupdialog --background '#FF8080' --msgbox "Sorry, but you cannot change transLANG to anything other than the current locale, '${ORIGLANG1}' or '${ORIGLANG12}'. Changing transLANG to '${ORIGLANG1}' in file ${CONFIG}" 0 0
 sed -i "s%^transLANG=.*%transLANG=${ORIGLANG1} #${ORIGLANG1} or ${ORIGLANG12}%" $CONFIG
 refresh #150309
fi
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Mon 09 Mar 2015, 10:06    Post subject: welcome1stboot  

wrong thread, sorry.
http://www.murga-linux.com/puppy/viewtopic.php?p=832907
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Thu 12 Mar 2015, 15:58    Post subject:  

BarryK wrote:
momanager-20150309.pet

After a first translation, enabling momanager is not possible.
I need to do further testing to understand what is happening.

Code:
# momanager

** (gtkdialog4:9144): ERROR **: gtkdialog: Error in line 20, near token 'string': syntax error

/usr/sbin/momanager: line 1626:  9018 Terminated              yaf-splash -bg orange -text "Please wait, scanning files..."

Regards,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Fri 13 Mar 2015, 05:46    Post subject: momanager 20150309  

ASRI,
please try refresh (use button or delete directory /tmp/momanager) then restart momanager from console again.
Which Puppy are you using at the moment?
Thank you
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Sat 21 Mar 2015, 10:17    Post subject: Re: momanager 20150309  

L18L wrote:
please try refresh (use button or delete directory /tmp/momanager) then restart momanager from console again.
Which Puppy are you using at the moment?

You're right, a simple restart of X enough.
Thank you for the reply and sorry for the disturbance.
I'm using a puplet based on Precise 5.7.1 and woof-CE.
Regards,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 08:44    Post subject: Re: momanager 20150309  

ASRI éducation wrote:
You're right, a simple restart of X enough.
Glad to know there is no bug (detected now) Very Happy
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Thu 09 Apr 2015, 09:57    Post subject: momanager
Subject description: 2015-04-09
 

Anyhow, there is a new version now at initial post page number 1.

some bugs fixed thanks to chief tester Bert.

Nothing really new, should be good somehow for Quirky and Fatdog, too.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Thu 09 Apr 2015, 16:46    Post subject: Re: momanager
Subject description: 2015-04-09
 

L18L wrote:
Anyhow, there is a new version now at initial post page number 1.

some bugs fixed thanks to chief tester Bert.

Merci !

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1267

PostPosted: Wed 06 May 2015, 22:03    Post subject:  

I'm still getting the same momanager error as ASRI, after restaring X several times and all (April 7.0.4.1).

Code:
# momanager
sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression

** (gtkdialog4:32342): ERROR **: gtkdialog: Error in line 11, near token 'string': syntax error

#


Thanks to L18L's refresh mode, I was able to backup /tmp/momanager to check all refreshed files manually through Poedit from another puppy, however that goes for existing translations only. I was able to create just one non-existing translation. (Related topic: Has anyone compiled Poedit for April yet?)

The latest woof2 langpack_es is compatible with Quirky, it just needs some updating. It's available here:

http://murga-linux.com/puppy/viewtopic.php?t=76948

The reason why I haven't tested April until just now is that I haven't got enough RAM in my home computer to run April (512 MB), so I'm booting from CD at work (4 GB).

_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Fri 08 May 2015, 04:11    Post subject:  

If there is any error in the code of the script MoManager cannot do its job, I guess.

It would be helpful to know the source of that non-existing translation.

Post (or PM) that script please and I will look what I can do.

Changing the code of the script requires always restart ( and refresh which deletes /tmp/momanager ) of MoManager.


----
Why not full install April to a partition?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 17 of 20 [298 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18, 19, 20 Next
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.0826s ][ Queries: 14 (0.0063s) ][ GZIP on ]