official (momanager) language packs
-
- Posts: 4
- Joined: Tue 30 Oct 2012, 01:22
L18L... i have a doubt
Hi... L18L i have a doubt,
what is the meaning of this expression:
LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"
I think that this expression means
LANG (the current language of puppy) "cut f 2" (use only two bytes to recognize the language?)
I'm confused, because, for example (in my case), pt_BR and pt_PT both of them have the same 2 first bytes 'pt' but they aren't the same language, they have differences like the US english and the UK english...
what is the meaning of this expression:
LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"
I think that this expression means
LANG (the current language of puppy) "cut f 2" (use only two bytes to recognize the language?)
I'm confused, because, for example (in my case), pt_BR and pt_PT both of them have the same 2 first bytes 'pt' but they aren't the same language, they have differences like the US english and the UK english...
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: L18L... i have a doubt
cut -f 2 -d '=' meansakarui.tenshi wrote:Hi... L18L i have a doubt,
what is the meaning of this expression:
LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"
I think that this expression means
LANG (the current language of puppy) "cut f 2" (use only two bytes to recognize the language?)
I'm confused, because, for example (in my case), pt_BR and pt_PT both of them have the same 2 first bytes 'pt' but they aren't the same language, they have differences like the US english and the UK english...
cut field number 2 where field delimiter is =
thus everything after =
Code: Select all
cut --help
I do not understand the meaning of the next cut
"everything before blank" ?
should be dot.
if line
LANG=pt_PT.UTF8
in /etc/profile
then LANG will be pt_PT
This line in /etc/profile is updated by script
Code: Select all
chooselocale
Where did you find this "LANG=...." ?
Do continue to post all of your doubts here please.
You are the first translator to a language where the letters after the underscore are important. So you might find some bugs.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
What's new?
#131013 L18L delete harmful pot files
These are the files that prevent momanager from creating an actual pot file.
Nothing harmful happens because they continue to exist inside devx file...
#131014 L18L WINDOW_WIDTH no more in preferences
window width is "computed" from screen width....1180px max.
#131015 L18L output directory MOMADIR for MoManager-* files configurable by preferences
These files are not needed if you are the maintainer of the language_pack.
They are needed if you want to contribute a single translation and send it to the maintainer or the developper of the app.
All files created by momanager (but not the languagepack) are written into this directory.
Type in whatever you wish as directory name, this directory will be created if it is not already existing.
Example1: MOMADIR=/root/MoManager-files (Bert's suggestion)
Example2: MOMADIR=/mnt/home/momanager-files (outside of save file)
Example3: MOMADIR=/tmp/momanager-files (no persistance!)
Example4: MOMADIR=/dev/null (no existence at all )
Code: Select all
#131013 L18L delete harmful pot files
#131014 L18L WINDOW_WIDTH no more in preferences
#131015 L18L output directory MOMADIR for MoManager-* files configurable by preferences
These are the files that prevent momanager from creating an actual pot file.
Nothing harmful happens because they continue to exist inside devx file...
#131014 L18L WINDOW_WIDTH no more in preferences
window width is "computed" from screen width....1180px max.
#131015 L18L output directory MOMADIR for MoManager-* files configurable by preferences
These files are not needed if you are the maintainer of the language_pack.
They are needed if you want to contribute a single translation and send it to the maintainer or the developper of the app.
All files created by momanager (but not the languagepack) are written into this directory.
Type in whatever you wish as directory name, this directory will be created if it is not already existing.
Example1: MOMADIR=/root/MoManager-files (Bert's suggestion)
Example2: MOMADIR=/mnt/home/momanager-files (outside of save file)
Example3: MOMADIR=/tmp/momanager-files (no persistance!)
Example4: MOMADIR=/dev/null (no existence at all )
- Attachments
-
- ffmm-20131015.png
- window at max width
- (26.17 KiB) Downloaded 1068 times
-
- momanager-20131015.pet
- (29.63 KiB) Downloaded 675 times
MoManager 20131015 is the best ever!
It 'remembered' my settings. Nice.
It stretched itself, filling about two-thirds of my screen. Nice.
So far , it didn't go after the bad ('harmful') guys in /usr/share/doc/nls, but I'm confident it will, when creating a new pet.
Just to illustrate the greatness of this new FFMM: I installed a new puplet, added the devx and, without thinking too much about what I was doing, clicked 'MoManager' in the menu... Up came the original MoManager...it still works, but feels like an old snail crawling through tired molasses...
Just incredible how L18L has implemented little incremental improvements over the months and how MoManager has benefited from all those careful steps!
Of course I was eager to use the new option to save the momanager-dump to another place than /root. I chose /mnt/home/momanager-files as the new directory and lord-and-behold, it was created. But, the first translation I saved was not sent to this new folder, instead it arrived in the old place: /root, which already looked like a composting pile with all these translation files littering it.
It will maybe take a few more translations to persuade MM to send the dump to /mnt/home/...?
To paraphrase current political news: "A source close to the steering committee, who prefers to stay anonymous, told us that FFMM has already been chosen as the default puppy internationalization tool."
It 'remembered' my settings. Nice.
It stretched itself, filling about two-thirds of my screen. Nice.
So far , it didn't go after the bad ('harmful') guys in /usr/share/doc/nls, but I'm confident it will, when creating a new pet.
Just to illustrate the greatness of this new FFMM: I installed a new puplet, added the devx and, without thinking too much about what I was doing, clicked 'MoManager' in the menu... Up came the original MoManager...it still works, but feels like an old snail crawling through tired molasses...
Just incredible how L18L has implemented little incremental improvements over the months and how MoManager has benefited from all those careful steps!
Of course I was eager to use the new option to save the momanager-dump to another place than /root. I chose /mnt/home/momanager-files as the new directory and lord-and-behold, it was created. But, the first translation I saved was not sent to this new folder, instead it arrived in the old place: /root, which already looked like a composting pile with all these translation files littering it.
It will maybe take a few more translations to persuade MM to send the dump to /mnt/home/...?
To paraphrase current political news: "A source close to the steering committee, who prefers to stay anonymous, told us that FFMM has already been chosen as the default puppy internationalization tool."
[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/
Bert,
thank you for the nice words!
But I could not have done it without you
who has always given feedback and made good suggestions.
folder in /mnt/home,
I did not test it before, just /root/MOMA.
Now I changed it in preferences
..and it has been used instantly ( )
other puplet
I have been trying it in luci528 without success (because window just 1 byte wide)
thank you for the nice words!
But I could not have done it without you
who has always given feedback and made good suggestions.
folder in /mnt/home,
I did not test it before, just /root/MOMA.
Now I changed it in preferences
Code: Select all
CONS_HEIGHT=20 # number of characters
#MOMADIR=/root/MOMA # (existing or not) directory for storing resulting files
MOMADIR=/mnt/home/MOMA-files # (existing or not) directory for storing resulting files
Code: Select all
# pwd
/initrd/mnt/dev_save/MOMA-files
# ls
MoManager-de-UExtract-2.3-in MoManager-de-UExtract-2.3-in.tar.gz
#
other puplet
I have been trying it in luci528 without success (because window just 1 byte wide)
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
MoManager
Who needs it?
Everyone who uses FatDog64 or lupu5.2.8.6
What is new?
In lupu5286 (Lucid Linux) the automatic window width and height do not work. Fix is:
Everyone who uses FatDog64 or lupu5.2.8.6
What is new?
Code: Select all
#131026 L18L fit for fatdog64 has gettext in /etc; pupdialog needs declaration as dependency
#131027 L18L fit for lupu-5.2.8.6
Code: Select all
read ISSUE < /etc/issue #131027
if [ "$ISSUE" = "Lucid Linux" ];then
MM2_DLG="<window width-request=\"$((${WINDOW_WIDTH}+132))\" height-request=\"450\" title=\"Forked Fast MoManager : Puppy files\" resizable=\"true\" icon-name=\"${WINICON}\" window-position=\"1\">"
else
MM2_DLG="<window title=\"Forked Fast MoManager : Puppy files\" resizable=\"false\" icon-name=\"${WINICON}\">"
fi
- Attachments
-
- momanager-20131027.pet
- (30 KiB) Downloaded 521 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
What's new?
Details
#131028 added animation for translation of Comment in /usr/share/applications/*.desktop
Fatdog's internationalized control panel uses them as tooltips
#131029 support for language=Glade added (-j join existing)
supporting fatdog's use of internationalisation in gtk server
#131104 insert 'export TEXTDOMAIN=' into *.sh.xml.sh (temporary copy of *.sh.xml)
no manual insertion of "TEXTDOMAIN=..." required
#131110 acknowledge Bert's MM-standalone.pet as alternative to devx
nice idea
---
edit
after 2 downloads re-uploaded disabling test on devx
----
edit after 4 downloads re-uploaded because "pet made in fatdog" did not work in puppy
Code: Select all
#131028 added animation for translation of Comment in /usr/share/applications/*.desktop
#131029 support for language=Glade added (-j join existing)
#131104 insert 'export TEXTDOMAIN=' into *.sh.xml.sh (temporary copy of *.sh.xml)
#131110 acknowledge Bert's MM-standalone.pet instead of devx
#131028 added animation for translation of Comment in /usr/share/applications/*.desktop
Fatdog's internationalized control panel uses them as tooltips
#131029 support for language=Glade added (-j join existing)
supporting fatdog's use of internationalisation in gtk server
#131104 insert 'export TEXTDOMAIN=' into *.sh.xml.sh (temporary copy of *.sh.xml)
no manual insertion of "TEXTDOMAIN=..." required
#131110 acknowledge Bert's MM-standalone.pet as alternative to devx
nice idea
---
edit
after 2 downloads re-uploaded disabling test on devx
----
edit after 4 downloads re-uploaded because "pet made in fatdog" did not work in puppy
- Attachments
-
- momanager-20131110.pet
- 4th upload fixed bug found by Bert
- (30.61 KiB) Downloaded 527 times
-
- result_of_dir2pet_in_fatdog_and_precise.png
- (29.17 KiB) Downloaded 860 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
what's new
Fatdog needs puppy's langpack.
If you don't know what it is you won't need it
May be of interest if you cannot have frugal install, only full install
Thus it might be not for everyone.
...and here is a screenshot
Code: Select all
#131206 make it fatdog compatible, LANGPACK=langpack | langpack_fatdog
Code: Select all
#131212 support t12s method
Code: Select all
#131219 enable quirky6.0: no check on pupmode
Thus it might be not for everyone.
...and here is a screenshot
- Attachments
-
- momanager-20131219.pet
- (34.74 KiB) Downloaded 540 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager
New Year - new momanager
Version 20130101
containing just some fixes for bugs detected by Finnish translator zephyr2 who has no frugal install.
That is why I have extended momanager to work with full install, tested in Quirky6.0
EDIT: xgettext, etc do yet NOT work in Quirky6.1
EDIT: works in Quirky if you install gettext-0.18.3.1.tar.bz2 from
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... 2/quirky6/
Version 20130101
containing just some fixes for bugs detected by Finnish translator zephyr2 who has no frugal install.
That is why I have extended momanager to work with full install, tested in Quirky6.0
EDIT: xgettext, etc do yet NOT work in Quirky6.1
EDIT: works in Quirky if you install gettext-0.18.3.1.tar.bz2 from
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... 2/quirky6/
- Attachments
-
- momanager-20140101.pet
- (35.04 KiB) Downloaded 528 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
FFMM is dead
FFMM is dead
Long live momanager.
http://www.murga-linux.com/puppy/viewto ... &start=207.
Long live momanager.
seeYes, I will put your latest momanager pet into quirky 6.1.1.
http://www.murga-linux.com/puppy/viewto ... &start=207.
- Attachments
-
- momanager-20140104.pet
- (35.15 KiB) Downloaded 634 times
Great! Congrats...
- Attachments
-
- group_clapping_sm_wm.gif
- (41.07 KiB) Downloaded 1252 times
[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: Slacko
I will check momanager in slacko. Thank you, Sergeyrodin.s wrote:Latest momanagers do not work on latest Slacko (5.6.5.1, 5.6.5.2). I use version 20130620 which works.
...and thank you, Bert
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Slacko
Fix: remove the geometryL18L wrote:I will check momanager in slacko. Thank you, Sergeyrodin.s wrote:Latest momanagers do not work on latest Slacko (5.6.5.1, 5.6.5.2). I use version 20130620 which works.
#MM1RET="`$GTKDIALOGEXE --program=MM2_DLG --geometry 0x0+0-0 `" #131014
MM1RET="`$GTKDIALOGEXE --program=MM2_DLG `" #140105
Thanks again.
gettext-tools (dev activated) installed , no devx
EDIT: gettext-tools frpm slacko's package manager
Last edited by L18L on Sun 05 Jan 2014, 12:47, edited 1 time in total.
Hi L18L -and happy NY!-,
Are you talking about these gettext-tools?
We're still in festive mood here...a real hiatus, unlike Barry's
Thanks!
Are you talking about these gettext-tools?
We're still in festive mood here...a real hiatus, unlike Barry's
Thanks!
[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/
I was talking about gettext-tools in slacko's package manager.Bert wrote:Are you talking about these gettext-tools?
Don't know whether it is the same or not.
Bon appétit
- mariojrmatos
- Posts: 12
- Joined: Fri 03 Jan 2014, 18:32
- Location: OFC: PT and NL | DMA: Worldwide
- Contact:
MoManager
Great work, L18L.
Thanks to Barry, you, Bert and vicmz I was able to release the first pt_PT translation for Puppy. (see why).
I can't express my gratitude...
__________________
Puppy Linux em português de Portugal (pt_PT) | Puppy Linux em português do Brasil (pt_BR: brevemente)
Thanks to Barry, you, Bert and vicmz I was able to release the first pt_PT translation for Puppy. (see why).
I can't express my gratitude...
__________________
Puppy Linux em português de Portugal (pt_PT) | Puppy Linux em português do Brasil (pt_BR: brevemente)
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: MoManager
Yes you canmariojrmatos wrote:I can't express my gratitude...
You have done it right now
Thank you and welcome.
I was using momanager in Quirky tahr , it worked well however I realized
that the .desktop file is not appropriate for language packs.
It requires translations of the name so that non-English speakers
can understand the function of program.
Barry Kauler needs to be notified of this problem.
that the .desktop file is not appropriate for language packs.
It requires translations of the name so that non-English speakers
can understand the function of program.
Barry Kauler needs to be notified of this problem.
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=MoManager create non-English Puppy
Name[fr]=MoManager - pour traduire
Name[de]=MoManager - Übersetzung kontrollieren
Icon=chooselocale.xpm
Comment=MoManager create non-English translations
Exec=momanager
Terminal=false
Type=Application
Categories=X-Utility-development
GenericName=MoManager
FR language pack issue
Hello guys,
I just installed Slacko with a full install, then downloaded the lang_pack_fr and loaded it, but nothing happened.
I tried launching Momanager from the console and it complains that PUPMODE = 3 (full install) thus aborting.
Maybe the correct way was to install it when I ran it the first time, before doing the full install? Is there a way to do it now? (I just spent the all day yesterday to set it up!! ^^)
I just installed Slacko with a full install, then downloaded the lang_pack_fr and loaded it, but nothing happened.
I tried launching Momanager from the console and it complains that PUPMODE = 3 (full install) thus aborting.
Maybe the correct way was to install it when I ran it the first time, before doing the full install? Is there a way to do it now? (I just spent the all day yesterday to set it up!! ^^)
Puppy 2.16 on HP Vectra VL400 - PIII 800 MHz - 320M RAM
Wary on Acer Aspire X3200 - Phenom X4 - 2.2GHz - 4G RAM
Wary on Acer Aspire X3200 - Phenom X4 - 2.2GHz - 4G RAM