official (momanager) language packs

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

official (momanager) language packs

#1 Post by L18L »

EDIT 2019-01-18 latest MoManager, used with EasyOS

momanager-20190118.pet
http://murga-linux.com/puppy/viewtopic. ... &id=121217
____________________________


EDIT Apr 2017-07 some new features
download recent MoManager-20170815.pet soon
edit 2017-08-18: Here it is: http://www.murga-linux.com/puppy/viewto ... 734#964734
___________________________________________________

EDIT Apr 2017-07 bug fix for 20170606
download recent MoManager-20170707.pet
- for developers
- for English of all flavours
- for full installed systems
- tested with Fatdog and Pyro64


EDIT Apr 2017-06
download recent MoManager-20170630.pet
- for developers
- for English of all flavours
- for full installed systems
- tested with Fatdog and Easy


EDIT Apr 2016-10
download recent MoManager-20160410.pet see changes.

EDIT Apr 2016-01
download recent MoManager-20160401.pet see changes.

EDIT Dec 2015-12
download recent MoManager-20151230.pet see changes.

EDIT Okt 2015-11
download recent MoManager-20151010.pet see changes .

EDIT Okt 2015-01
download recent MoManager-20151001.pet for testing with jamesbond's latest mdview attached here.

EDIT Aug 2015
download recent MoManager-20150829.pet for testing with Puppy Quirky and Fatdog64 attached here.


EDIT April 2015
download recent MoManager-20150409.pet attached here.


EDIT March 2015
download recent MoManager from http://distro.ibiblio.org/quirky/quirky ... 150309.pet


EDIT november 2014
download recent MoManager from http://murga-linux.com/puppy/viewtopic. ... 307#810307


EDIT
forget this buggy version:
download recent MoManager from http://www.murga-linux.com/puppy/viewto ... &start=173
_______________________________________________

In his_blog
BarryK wrote:I think that L18L and others were modifying 'pinstall.sh' in their langpacks, but now need to consider return to the official pinstall.sh script.

Yes, and I have been working on this issue, returned to use the official pinstall.sh with one small modification and I hope this can be integrated into the official, just 1 (the green one) line:
------------------
edit 2012-10-12: Yes, it is official now, see comment 11 Oct 2012, 8:05 on http://bkhome.org/blog/?viewDetailed=03007
------------------
end of my pinstall.sh wrote:if [ "`pwd`" = "/" ];then #installing PET in a running puppy.
if [ "$LANG1" != "en" ];then
#need to update SSS translations...
fixscripts
fixdesk
fixmenus
[ -r /pinstall_hacks.sh ] && . /pinstall_hacks.sh #120929
pupdialog --background green --backtitle "Language Pack" --msgbox "Sprachpaket installiert, voll wirksam nach Neustart des X-Servers" 0 0 &
fi
fi


And here is my successfully tested file pinstall_hacks.sh:

Code: Select all

#pinstall_hacks.sh
#sourced by pinstall.sh of /usr/share/doc/langpack-template
#                          ================================
#
#120510 L18L disable LANG=C enables translations of gparted
#120816 L18L cups doc
#120929 L18L add link to english original into translated /usr/share/doc/index.html
#121001 L18L create home-en.htm from home-raw-en.htm

echo "#------------------------------------
Running pinstall.sh_hacks..."
#------------------------------------

[ `sed -i 's/^export LANG=C/#export LANG=C/' usr/sbin/gparted_shell` ] || echo '#$LANG=C in gparted_shell' #120510

#120816 cups doc
cupsVERSION=`grep CUPS usr/share/cups/templates/header.tmpl | cut -d'<' -f2 | cut -d ' ' -f4` 
cupsVERSION=`echo ${cupsVERSION}| cut -d'.' -f1,2`
cp -a tmp/cups/${cupsVERSION}/doc usr/share           2>/dev/null #1.3 1.4
cp -a tmp/cups/${cupsVERSION}/doc-root usr/share/cups 2>/dev/null #1.5
[ `cp -a tmp/cups/${cupsVERSION}/templates usr/share/cups` ] || echo "cups templates"

# i like my translations having a link back to the originals

# my home-raw.htm has a link to original english home-en.htm
# we need to create home-en.html:
. etc/DISTRO_SPECS # has $DISTRO_NAME
[ "`sed -e "s#DISTRO_NAME#$DISTRO_NAME#" usr/share/doc/home-raw-en.htm > usr/share/doc/home-en.htm`" = "" ] && echo home-en for $DISTRO_NAME created #121001

# index-en.html does NOT exist. generate from index-top and index-bottom
# or easier: take that from .sfs if existent
# change from ... aus dem Englischen Origial im ...
#          to ... aus dem <a href="/initrd/pup_ro2/usr/share/doc/index.html">Englischen Origial</a> im ...
[ "`sed -i -e 's# Englischen Original # <a href="/initrd/pup_ro2/usr/share/doc/index.html">Englischen Original</a> #' /usr/share/doc/index.html.top-raw`" = "" ] && echo backlink to original index inserted #120929

#------------------------------------
echo "...pinstall.sh_hacks finished
#------------------------------------"
langpack-template is always a link to a directory on /mnt/home so I can create langpacks from different puppies.
------------------
edit 2012-10-12: changed links from absolute to relative (Barry's advice)
------------------
Attachments
momanager-20190118.pet
(44.68 KiB) Downloaded 980 times
momanager-20170707.pet
(42.93 KiB) Downloaded 740 times
moma_match.png
(51.01 KiB) Downloaded 1496 times
momanager-20170630.pet
(42.81 KiB) Downloaded 766 times
momanager-20160410.pet
(33.53 KiB) Downloaded 944 times
momanager-20151230.pet
(38.81 KiB) Downloaded 991 times
momanager-20151010.pet
libstardust
fix for mdview: correct lines in .po files now
(38.23 KiB) Downloaded 1019 times
momanager-20151001.pet
for .md files also (markdown-viewer mdview)
(38.34 KiB) Downloaded 976 times
momanager-20150829.pet
(38.87 KiB) Downloaded 1033 times
momanager-20150409.pet
(38.23 KiB) Downloaded 1076 times
Last edited by L18L on Sun 20 Jan 2019, 13:43, edited 46 times in total.

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

official (momanager) language packs

#2 Post by L18L »

If you are curious what is inside the langpack-template here is langpack_de-20121001.pet
:)

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

official (MoManager) language packs

#3 Post by L18L »

Using a customized file pinstall_hacks.sh is officially supported now.
See first post.

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

momanager

#4 Post by L18L »

Inspired by our Danish Puppian maans
and Karl Godt
here is official momanager extended by a small check routine.

If you want the official momanager back
it is in /initrd/pup_ro2/usr/sbin in a frugal install.

feed back appreciated
Have fun :D

--------------------------------------------------------
[edit 2013-05-04]

Attachment (24 downloads) deleted because improvement is in official momanager now.
see http://bkhome.org/blog2/?viewDetailed=00215

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

momanager

#5 Post by L18L »

Before 2 minutes once and 2 minutes after each action
Now 2 minutes once and 2 seconds after each action

How that?
Storing right and left lists
update (move from right to left) only after successful creation

Code: Select all

#121124 edit script_strings.*, 'read -r' so backslash chars are not escapes.
#130502 L18L/BK: stay in a loop if there is an error converting .po to .mo.
#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
Attached is latest momanager and pinstall.sh
[edit] .. and fixmenus which is also a bit faster [/edit]

Have fun :D

[edit] Attachments deleted because there is all in one download and updated 5 posts below.
Last edited by L18L on Sun 12 May 2013, 15:58, edited 1 time in total.

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#6 Post by vicmz »

The new momanager is real fast 8)
And now a multilingual derivative is possible, too.
Thanks so much, L18L.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

fast momanager

#7 Post by rodin.s »

It's really great. Thank you from me too.

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

momanager

#8 Post by L18L »

#130506 [ ! diff... ] -> diff...

please find the 2 lines in /usr/sbin/momanager containing
[ ! diff

remove the square brackets [ and ] and the !

Barry has found this see http://bkhome.org/blog2/?viewDetailed=00216 :)

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#9 Post by Bert »

Yes, thanks from me also L18L.

What a difference!
[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]

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

momanager

#10 Post by L18L »

Though the fast version did not yet make it into woof
Barry has aknowledged new translators.

Thus I have to upgrade the fast version to "aknowledge new translators" too.

One other improvement:
/tmp/momanager was never emptied before (at reboot only)

Now it is emptied at each launch of momanager.
If you are running into problems (no creation of po file possible)
a deletion of /tmp/momanager has helped sometimes before.

Now you should just close momanager and restart.
The restart will empty /tmp/momanager.

----

edit

attachment momanager-20130512.tar.gz (8 times downloaded) deleted
usehttp://www.murga-linux.com/puppy/viewto ... 9&start=85
Last edited by L18L on Sun 09 Jun 2013, 12:23, edited 4 times in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#11 Post by Bert »

Great, just when I needed a fresh copy of momanager. :wink:

A question L18L: Is the sanity check for UTF-8 part of your new Momanager?
Yesterday I lost about 2.5 hours of translating, because of the file not being utf-8. When saving my work, Momanager closed, gave a list of curses, and left me with an empty .po..

.poo in the .pot :lol:
Last edited by Bert on Sun 12 May 2013, 18:50, edited 1 time in total.
[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]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#12 Post by Bert »

deleted, reply no longer relevant
Last edited by Bert on Sun 12 May 2013, 19:32, edited 1 time in total.
[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]

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

#13 Post by L18L »

Bert wrote:Is the sanity check for UTF-8 part of your new Momanager?
It is not a special check
It is just the error messages you get when using console.

Code: Select all

msgfmt TEXTDOMAIN.po
Errors are written to console. You can try it.
But you are using poeditor?
No idea how it is there. rodin.s to the rescue :wink:

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#14 Post by Bert »

Thanks for explaining.

Yes, I mostly use Poedit, sometimes Geany for quick changes and also Don570's handy right-click mo-po utility.

In Poedit it's just a matter of discipline ( yes, I know the word :oops: )... always make sure the 'catalogue' is updated and checking if file is utf-8 and if not changing it to utf-8...before saving.



Image
[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]

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

#15 Post by L18L »

Bert wrote:Image
So you are waited hand and foot :lol:

http://www.redensarten-index.de/suche.p ... []=rart_ou
Sorry, German only :oops:

Nice image :arrow: momanager's logo :)

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#16 Post by Bert »

L18L wrote:
Bert wrote:Image
So you are waited hand and foot :lol:

http://www.redensarten-index.de/suche.p ... []=rart_ou
Sorry, German only :oops:

Nice image :arrow: momanager's logo :)
Haha, just for fun I typed 'momanager' in search engine>images and was surprised something came up. I didn't even look at the origin of this great image. Now I did: Momager.nl, an artists booking agency.

Aber Herr L18L, deine Unternehmung hat Hand und Fuß - ich mache mit! :)

Dict.cc looks good! Seems to be more complete in German than in Dutch though.

Bleib Pate stehen bitte ... :lol:
[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]

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

fast momanager bug

#17 Post by rodin.s »

Fast MoManager has some bug when entry moves from the right dropdown list to the left one. I guess when this move takes place MoManager should be updated. MoManager shouldn't be updated when entry from left dropdown list is edited.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

Re: fast momanager bug

#18 Post by Bert »

rodin.s wrote:Fast MoManager has some bug when entry moves from the right dropdown list to the left one. I guess when this move takes place MoManager should be updated. MoManager shouldn't be updated when entry from left dropdown list is edited.
I'm glad you brought this up. I thought it was me, not really knowing what I'm doing, causing this instability.

I usually close Momanager when this happens. Restarting it after rebooting the X server doesn't seem to help. A complete reboot is needed.

In my case about 2/3 of the top-selection box (the long list) on the right side suddenly moves to the left.

The opposite also happens: three or four items going back from left to right in the Appinfo selection box. Opening one of them for editing, editing and then closing it, all four items are back to the left side of Momanager.

:shock: :)

EDIT 19-05 After rereading rodin s.'s post I now realise he is talking about a different bug...maybe related to what I'm experiencing?
What I describe above is definetely abnormal behaviour, not caused by something I did wrong, as far as I can see. (fresh install)

But apologies to rodin s. for taking the focus away from his report.
[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]

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

fast momanager

#19 Post by L18L »

Thank you both reports are useful.

It was me who made the mistake.
I did not notice because I had not much at the right side.
It had used the wrong variable.

#130519 L18L bug fix: instead of APKGNAME use ASCRIPT, DESKFILE, XMLFILE, ABIN; code for sss and menu categories unchanged

I have tested: now only 1 (the right one) is moved from right to left.

This is at the beginning of the left list which is in my experience very useful because you do not need to search it in the long list when you want to edit it.

The lists are only updated (entry moved from right to left) when "create" button was used.

Content of entire directory /tmp/momanager is deleted when you restart momanager (2 minutes or more wait.....), no need for restart X or reboot.....

----

edit 20130520
deleted attachment (downloaded 7 times)
bug fixed version 20130520 5 posts down
Last edited by L18L on Mon 20 May 2013, 09:23, edited 1 time in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#20 Post by Bert »

Wow, that was fast! Special Sunday Service :D

Proudly running momanager 20130529...the first script ever to arrive from the future :lol:

A question I need to ask for peace of mind: yesterday I translated Pfind.

Pfind has 5 entries in momanager:

* Pfind/box_yesno
* Pfind/func
* Pfind/func_filter
* Pfind/func_openwith
* Pfind/pfind

I translated the first one, box_yesno and saved.

Now all 5 of them are in the left column in momanager. And the translated Pfind is looking good, running pfine...

I opened an other (than box_yesno) file and the content is the same as box_yesno.

Is this default behaviour (and okay for pfind) or also a result of the former momanager version?

Thanks in advance!
[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]

Post Reply