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 Wed 27 Aug 2014, 17:31
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 3 of 12 [176 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 10, 11, 12 Next
Author Message
L18L

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

PostPosted: Tue 21 May 2013, 07:33    Post subject: fast momanager
Subject description: yab (yet another bug) fixed
 

L18L wrote:
...Same procedure as with binaries....

Not exactly

find in /usr/sbin/momanager the line:
no_to_yes $CACHE/NOMO_XML "${SCRIPTS}" $CACHE/YESMO_XML # update YESMO_XML NOMO_XML #130520

and append:

for ASCRIPT in $SCRIPTS ; do #130522
sed -i "s#(${ATEXTDOMAIN}#(${ATRANSLANG} ${ATEXTDOMAIN}.mo#" $CACHE/YESMO_XML #130522
done #130522

Hope that helps
not hope I am sure Laughing




edit

or simply use new momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=50

edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=57

edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=85

Last edited by L18L on Sun 09 Jun 2013, 08:29; edited 4 times in total
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 21 May 2013, 10:52    Post subject: fast momanager
Subject description: hopefully bug free now
 

For your convenience here is now:

fast momanager-20130522

why fast and how fast?

All drop down lists (left: translated, right: not translated) are created just once. Time for this was about 2 minutes on my (1.5GHz) box.

When a translation was being created then the entry is moved from right to left. Time for displaying the main window was about 2 seconds on my (1.5GHz) box.

As fixmenus is run when create/edit menu entries a slightly faster version of fixmenus is also included. It is faster just by using some builtin shell commands instead of echo grep cut (thanks technosaurus Very Happy )



edit
attachment (32 times downloaded) deleted
simply use new momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=85

Last edited by L18L on Sun 09 Jun 2013, 08:29; edited 5 times in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 926

PostPosted: Tue 21 May 2013, 13:05    Post subject:  

I am SO HAPPY I could kiss you!!

Everything just works now and INCREDIBLY fast.

Let the translation fun begin...

Well done L18L (and in record time!)

THANK YOU Exclamation Exclamation

_________________


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 21 May 2013, 13:48    Post subject: fast momanager  

Would not have got it without your help. Very Happy
Next time I should do more testing before publishing Embarassed

I am hoping it can make it into woof now.
See http://bkhome.org/blog2/?viewDetailed=00229
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Tue 21 May 2013, 15:21    Post subject: xorgwizard and xorgwizard-cli  

One strange thing about MoManager is: when I choose to edit xorgwizard I got lines from xorgwizard-cli (has different textdomain) in the po-file.
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: Wed 22 May 2013, 08:26    Post subject: Re: xorgwizard and xorgwizard-cli
Subject description: suggest one TEXTDOMAIN xorg
 

rodin.s wrote:
One strange thing about MoManager is: when I choose to edit xorgwizard I got lines from xorgwizard-cli (has different textdomain) in the po-file.

Really strange.

Why different TEXTDOMAINs

Code:
# for AFILE in `ls xorgwizard*.mo`; do file $AFILE  ;done
xorgwizard-cli.mo: GNU message catalog (little endian), revision 0, 91 messages
xorgwizard.mo: GNU message catalog (little endian), revision 0, 181 messages


56 duplicate message definitions...

Let us make one TEXTDOMAIN=xorg for both xorgizards?

# xgettext -o xorg.pot --language=shell /usr/sbin/xorgwizard /usr/sbin/xorgwizard-cli

merged my already translated po files, edited some fuzzy's and got:

# file xorg.mo
xorg.mo: GNU message catalog (little endian), revision 0, 218 messages

One TEXTDOMAIN would be really better
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3259
Location: Ontario

PostPosted: Wed 22 May 2013, 20:00    Post subject:  

Review:

I used the new Momanager to internationalize 'alien2puppy'
and it worked nicely Wink

__________________________________
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Fri 24 May 2013, 18:00    Post subject:  momanager-20130522.tar.gz  

Hello everyone

I tried momanager-20130522.tar.gz
in Precise 5.6

I extracted to /

I tried to edit an existing .mo and got an error message

then back to the main GUI all scripts that didn't actually have a .mo file where moved to the list of those that do have

after that I restored the original momanager files

and everything worked as usual Shocked

I tried in Racy 5.5 and got the same results

I wonder what did I do wrong since all of you are saying it works nice on your systems Confused

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 926

PostPosted: Fri 24 May 2013, 18:31    Post subject:  

That's strange vlcmz.

Just to be sure: did you really download and install the latest MoManager (20130522), because your problems are exactly what was wrong in earlier editions.

I'm not doubting your intelligence with this question Laughing
Only want to exclude always-possible human errors.

Best regards.

_________________


Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Fri 24 May 2013, 19:06    Post subject:  

Yes, I did download that one. But there's something strange: I have another one that instead of 05-22 says 05-29 Shocked
The latter I didn't test yet, I downloaded 05-22 directly from this thread and used as-is.
OK, too much stress at work, maybe. Rolling Eyes I'm already planning some holidays.

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 926

PostPosted: Fri 24 May 2013, 19:20    Post subject:  

Don't use the 05-29 (the 29 was a typo, should have been 19)

I cannot help you any further. All I can say is version 20130522 is the first one running without errors here. I've used it 3 days now and am as excited as I was after a few hours testing. The weeks before 20130522 were not easy, lots of problems I didn't understand, but do now, because the latest version solved all those problems.

For the record: I'm still running Precise 5.5, That's one difference with your 5.6.
(which I intend to install tomorrow)

I'm sure L18L will come to the rescue shortly... Wink

Good luck!

_________________


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 25 May 2013, 05:26    Post subject: Re: momanager-20130522.tar.gz
Subject description: rescue
 

vicmz wrote:
...I tried to edit an existing .mo and got an error message...

Reveal the name of the .mo file, or better name of the executable and it might become reproducible. Wink
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 25 May 2013, 13:52    Post subject: fast momanager
Subject description: can edit ROX-Filer and Xdialog now
 

don570 wrote:
Review:

I used the new Momanager to internationalize 'alien2puppy'
and it worked nicely Wink

__________________________________

Smile
Thanks for the review

Another issue was edit Xdialog.po in momanager

Find in /usr/sbin/momanager line which contains
Code:
LANG=${ORIGLANG} rxvt -e intltool-update --dist --gettext-package=${ATEXTDOMAIN} --output-file=${ATEXTDOMAIN}.po ${ATEXTDOMAIN}1

put a # at beginning of that line so it looks like:
Code:
#LANG=${ORIGLANG} rxvt -e intltool-update --dist --gettext-package=${ATEXTDOMAIN} --output-file=${ATEXTDOMAIN}.po ${ATEXTDOMAIN}1
and append the following line:
Code:
LANG=${ORIGLANG} rxvt -e msgmerge ${ATEXTDOMAIN}1.po ${ATEXTDOMAIN}.pot --output-file=${ATEXTDOMAIN}.po ; #130525

..and also ROX-Filer can be edited if you apply this change.


edit
or simply use new momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewtopic.php?t=81259&start=85

Last edited by L18L on Sun 09 Jun 2013, 08:31; edited 3 times in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 926

PostPosted: Sat 25 May 2013, 17:11    Post subject:  

I just noticed a little oddity:

The latest edited new (right-side) files no longer show up on top of the left side (files that have a mo) column.

Discovered this while translating the universal installer. (30% done, phew.. Wink )

Not a big deal, but I suppose L18L's idea was to keep the latest files on top of the list, which is indeed very handy for quick corrections)

_________________


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 26 May 2013, 03:52    Post subject: fast momanager
Subject description: latest edited
 

Bert wrote:
The latest edited new (right-side) files no longer show up on top of the left side (files that have a mo) column.

If you restart momanager then the order is as always is.

Bert wrote:
I suppose L18L's idea was to keep the latest files on top of the list, which is indeed very handy for quick corrections)

Putting that entry at top of the list is the easiest way for coding
and , yes, it is very handy. But "latest created files on top" is only true in a "session" of momanager.

Appears it is more difficult to explain than to code. Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 12 [176 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 10, 11, 12 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.1028s ][ Queries: 12 (0.0147s) ][ GZIP on ]