official (momanager) language packs
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
fast momanager
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 )
edit
attachment (32 times downloaded) deleted
simply use new momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
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 )
edit
attachment (32 times downloaded) deleted
simply use new momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:29, edited 5 times in total.
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
Everything just works now and INCREDIBLY fast.
Let the translation fun begin...
Well done L18L (and in record time!)
THANK YOU
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
fast momanager
Would not have got it without your help.
Next time I should do more testing before publishing
I am hoping it can make it into woof now.
See http://bkhome.org/blog2/?viewDetailed=00229
Next time I should do more testing before publishing
I am hoping it can make it into woof now.
See http://bkhome.org/blog2/?viewDetailed=00229
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.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: xorgwizard and xorgwizard-cli
Really strange.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.
Why different TEXTDOMAINs
Code: Select all
# 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
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
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
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
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
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
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
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
Only want to exclude always-possible human errors.
Best regards.
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
Only want to exclude always-possible human errors.
Best regards.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Yes, I did download that one. But there's something strange: I have another one that instead of 05-22 says 05-29
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. I'm already planning some holidays.
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. I'm already planning some holidays.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
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...
Good luck!
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...
Good luck!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: momanager-20130522.tar.gz
Reveal the name of the .mo file, or better name of the executable and it might become reproducible.vicmz wrote:...I tried to edit an existing .mo and got an error message...
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
fast momanager
don570 wrote:Review:
I used the new Momanager to internationalize 'alien2puppy'
and it worked nicely
__________________________________
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/viewto ... 9&start=50
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=57
edit
or simply use newer momanager.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:31, edited 3 times in total.
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.. )
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)
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.. )
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)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
fast momanager
If you restart momanager then the order is as always is.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.
Putting that entry at top of the list is the easiest way for codingBert 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)
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.
problem returns
I fired up MoManager maybe for the first time this week and, feeling a bit tired, decided to translate a mini app first: pEqualizer (just a few lines ).
Translation went well, but pEqualizer did not appear on top of the left column drop down box. Instead, there was a whole list of Pburn and Pmusic entries on top. Both apps should have remained on the right side, as I haven't even started translating them. (Not all the Pburn/Pmusic entries had moved to the left, roughly 50% had stayed on the right side)
When I opened one of the Pburn entries on the left side I was greeted with the dreaded BAD NEWS popup again....
So...maybe vlcmz's report was correct and I've been just lucky not to experience this problem before.
After closing MoManager, shaking my fist at Tradir (*), the translators' patron saint, and two strong coffees later, I reopened MM and everything looked normal again:
pEqualizer to the left alphabetically, Pburn and Pmusic back to the right side.
This also relates to my last post above, I accepted your reply but kept feeling it happened before closing MoManager. (Haven't had time to try and reproduce it.)
(*)
Translation went well, but pEqualizer did not appear on top of the left column drop down box. Instead, there was a whole list of Pburn and Pmusic entries on top. Both apps should have remained on the right side, as I haven't even started translating them. (Not all the Pburn/Pmusic entries had moved to the left, roughly 50% had stayed on the right side)
When I opened one of the Pburn entries on the left side I was greeted with the dreaded BAD NEWS popup again....
So...maybe vlcmz's report was correct and I've been just lucky not to experience this problem before.
After closing MoManager, shaking my fist at Tradir (*), the translators' patron saint, and two strong coffees later, I reopened MM and everything looked normal again:
pEqualizer to the left alphabetically, Pburn and Pmusic back to the right side.
This also relates to my last post above, I accepted your reply but kept feeling it happened before closing MoManager. (Haven't had time to try and reproduce it.)
(*)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
This is what actually happenedBert wrote:Don't use the 05-29 (the 29 was a typo, should have been 19)
And the app was a gettext version of PupSnap 1.8, which I could translate as usual with 05-22.
Thanks, Bert and L18L
Not so off-topic, can momanager be ported to older Puppies? I've received requests for localizing Lucid 528-005 and Puppy 431, it'd be easier to have momanager as a more organised method for translating these.
Last edited by vicmz on Sat 01 Jun 2013, 20:37, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
I am sure it could. But not by me.vicmz wrote:..can momanager be ported to older Puppies?..
Just one hint:
Momanager identifies internationalized scripts by the line:
Code: Select all
export TEXTDOMAIN=
... and improve them if there should be anything wrong in them ?
edit
waryq and lupq exist
http://www.murga-linux.com/puppy/profil ... le&u=17722
Last edited by L18L on Sat 01 Jun 2013, 11:14, edited 1 time in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: problem returns
Thanks for reporting "bad news"Bert wrote: I fired up MoManager maybe for the first time this week and, feeling a bit tired, decided to translate a mini app first: pEqualizer (just a few lines ).
Translation went well, but pEqualizer did not appear on top of the left column drop down box. Instead, there was a whole list of Pburn and Pmusic entries on top. Both apps should have remained on the right side, as I haven't even started translating them. (Not all the Pburn/Pmusic entries had moved to the left, roughly 50% had stayed on the right side)
When I opened one of the Pburn entries on the left side I was greeted with the dreaded BAD NEWS popup again....
So...maybe vlcmz's report was correct and I've been just lucky not to experience this problem before.
After closing MoManager, shaking my fist at Tradir (*), the translators' patron saint, and two strong coffees later, I reopened MM and everything looked normal again:
pEqualizer to the left alphabetically, Pburn and Pmusic back to the right side.
This also relates to my last post above, I accepted your reply but kept feeling it happened before closing MoManager. (Haven't had time to try and reproduce it.)
(*)
I will try to reproduce it now:
I rename my LC_MESSAGES/pequalizer.mo
and launch momanager
...wait a moment
/usr/local/pequalizer/func and
/usr/local/pequalizer/pequalizer at right side.
now create /usr/local/pequalizer/pequalizer
translate 2 phrases and
/usr/local/pequalizer/func and
/usr/local/pequalizer/pequalizer at left side.
Now edit /usr/local/pequalizer/func
and..... no bad news.
Do we use the same version of momanager?/usr/local/pequalizer/pequalizer wrote: # 20121028 (c) 01micko@gmail.com and zigbert@murgalinux.com 2011-2012
...
VERSION=0.9.0
Here the last comments of the version I am using at the moment:
#130503 test if .po file changed.
#130503 L18L: rename AppInfo.xml to AppInfo.xml.in for langpack
#130505 L18L: quick version: caching variables in CACHE/... from 2m to 2s
#130512 acknowledge new translators, deleting /tmp/momanager
#130519 L18L bug fix: instead of APKGNAME use ASCRIPT, DESKFILE, XMLFILE, ABIN; code for sss and menu categories unchanged
#130520 L18L bug fix: multiple scripts for 1 TEXTDOMAIN
#130521 L18L bug fix binaries, update NOCNT,YESCNT
#130522 L18L bug fix 1 line NOXML_XML and multiple scripts
#130525 L18L replace intltool-update by msgmerge
Hope that helps
or how gcmartin uses to write
Here to help
[edit] Close momanager, restart and wait some minutes is good.
But I really liked to make fast momanager useable
that is: not only fast but also precise .
Thank you!
The pEqualizer version is the same: v.0.9.0
Momanager is 20130522 as it left the factory...
I don't have
I presumed that was the code in your reply to Don570...so added that now.
Will let you know how it goes.
chüss.
The pEqualizer version is the same: v.0.9.0
Momanager is 20130522 as it left the factory...
I don't have
Code: Select all
#130525 L18L replace intltool-update by msgmerge
Will let you know how it goes.
chüss.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
Exactly!Bert wrote:#130525 L18L replace intltool-update by msgmerge
I presumed that was the code in your reply to Don570...so added that now.
... and this code snippet has made it into official momanager
http://bkhome.org/blog2/?viewDetailed=00267
(where Barry says it occurs in two places.)
I really should build an actual version of fast momanager soon.
edit
...done
edit
deleted 13 times downloaded pet
please simply use newer momanager-130601.pet: http://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:35, edited 1 time in total.