official (momanager) language packs
Re: pMusic 5.0.1
I edited the scripts that had TEXTDOMAIN missing and was able to create a .pot with all the 500+ lines, but pMusic still refused to translate the interface. Then:vicmz wrote:Has anyone tried to update pMusic translations?
I am unable to update translations for pMusic 5.0.1, I should get a .po of about 500 lines but I get a 48-line .po instead! And the pMusic interface appears completely in English.
I tried several Momanager versions including the latest, in the most up-to-date puppies.
pMusic 4.7.4 translates perfectly, pMusic 5.0.1 does not.
http://www.murga-linux.com/puppy/viewto ... 780#913780
Either something to fix directly in Woof-CE, or maybe to include a line in the pinstall that creates that symlink (this last one will only work by installing the langpack after changing the system locale, not before).
[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
New version 20170630 published
see initial post
- for developers
- for English of all flavours (GB HK DK ZA ...)
- for full installed systems, too (tested with Barry's Easy)
- also for md files (mdview)
- layout tested with Fatdog and Easy
see initial post
- for developers
- for English of all flavours (GB HK DK ZA ...)
- for full installed systems, too (tested with Barry's Easy)
- also for md files (mdview)
- layout tested with Fatdog and Easy
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager for developers
Thank you.step wrote:L18L, welcome back to the i18n business!
You are the one who gave me the idea to create pot files with comments from source....
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
bug
business as usual:
create binary has a bug
does not change to UTF-8
this results in error: invalid multibyte sequence
and no mo file is created.
will be fixed soon (or later).
EDIT: This bug is affecting only binaries
you can use this version:
simply change ASCII to UTF-8 while editing the po file.
Anyone hunted another bug?
________________________
bug fixed in version 20170707 see initial post please.
create binary has a bug
does not change to UTF-8
this results in error: invalid multibyte sequence
and no mo file is created.
will be fixed soon (or later).
EDIT: This bug is affecting only binaries
you can use this version:
simply change ASCII to UTF-8 while editing the po file.
Anyone hunted another bug?
________________________
bug fixed in version 20170707 see initial post please.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
MoManager
Some bugs fixed
New features
for translators
configurable drop-down (see image)
for developers
support custom TEXTDOMAINDIR (e.g /usr/local/app/locale)
download momanager-20170815 from this post.
New features
for translators
configurable drop-down (see image)
for developers
support custom TEXTDOMAINDIR (e.g /usr/local/app/locale)
download momanager-20170815 from this post.
- Attachments
-
- MoManager_main_window.png
- (29.25 KiB) Downloaded 960 times
-
- momanager-20170815.pet
- (37.32 KiB) Downloaded 753 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: bug
L18L wrote:Anyone hunted another bug?
A bug hunter at [url]http://barryk.org/news/?viewDetailed=00652[/url] wrote:Just a note: currently there is a bug with latest momanager, so I am using an older version.
Hope this was not meant for momanager-20170815
A possible bug??
I didn't check this out much , but I'll report this anyway.
To switch to the various languages from English I tried an unusual method in Xerus64.
I typed 'quicksetup' in terminal and then I clicked on a flag.
I checked that the language was changed by typing 'echo $LANG'
in terminal. However momanger didn't recognize the language.
Maybe I forgot to restart Xwindows?
______________________________________________
I didn't check this out much , but I'll report this anyway.
To switch to the various languages from English I tried an unusual method in Xerus64.
I typed 'quicksetup' in terminal and then I clicked on a flag.
I checked that the language was changed by typing 'echo $LANG'
in terminal. However momanger didn't recognize the language.
Maybe I forgot to restart Xwindows?
______________________________________________
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
momanager bug
I made a similiar experiment in Fatdog, trying with French:don570 wrote:Maybe I forgot to restart Xwindows?
Code: Select all
# LANG=fr momanager
(process:28136): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Code: Select all
# LANG=fr_CA.UTF-8 momanager
/usr/sbin/momanager: line 3171: 28464 Terminated yaf-splash -bg orange -text "$1"
# LANG=fr_CA.UTF-8 momanager
/usr/sbin/momanager: line 3171: 28643 Terminated yaf-splash -bg orange -text "$1"
/usr/sbin/momanager -> reenter -> MATCH_TEXTDOMAIN=easyhelp
Please wait, building cache, scanning files...
/usr/sbin/momanager: line 3171: 28973 Terminated yaf-splash -bg orange -text "$1"
create_actual_file easyhelp.pot METHOD=gettext
Created easyhelp.po.
urxvt: default locale unavailable, check LC_* and LANG variables. Continuing.
Please wait, creating tarball MoManager-fr-UNKNOWN.tar.gz...
move lines of /tmp/momanager/cache/NOMO_XML containing "easyhelp" to begin of /tmp/momanager/cache/YESMO_XML_ALL
create_po_file_from SOURCE_LIST=/tmp/momanager/cache/YESMO_XML
which: no easyhelp in (/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/qt5/bin)
/usr/sbin/momanager: line 3171: 29767 Terminated yaf-splash -bg orange -text "$1"
Left click on mo file:
Code: Select all
msgid ""
msgstr ""
"Project-Id-Version: welcome.sh VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-19 19:30+0200\n"
"PO-Revision-Date: 2017-08-19 19:30+0200\n"
"Last-Translator: fido@localhost\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Help for Easy"
msgstr "Aide pour Easy"
Thus I answer your question: no, restartX not required.
But a refresh in momanger has to be done.
Thanks for your feedback.
- Attachments
-
- fr_test.png
- (38.36 KiB) Downloaded 854 times
Last edited by L18L on Sat 19 Aug 2017, 18:06, edited 2 times in total.
I remember seeing that error!(process:28136): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
__________________________________
Tip: refreshing or deleting /tmp files is necessary when switching from
one language to another while translating.
_________________________________________________________
Question: I can't install Easy linux. Is the help system compatible with
my app for a multilingual help system?
Explained here...
http://45.33.15.200/puppy/viewtopic.php ... c13fd6266c
________________________________
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
refreshing is also required if code changed (devs use to do this)don570 wrote:Tip: refreshing or deleting /tmp files is necessary when switching from
one language to another while translating.
I have also no installatiuon of Easy linux, just worked a little behind the curtains...Question: I can't install Easy linux. Is the help system compatible with
my app for a multilingual help system?
Explained here...
http://45.33.15.200/puppy/viewtopic.php ... c13fd6266c
________________________________
http://barryk.org/news/?viewDetailed=00652
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
I have modified MoManager a little bit, just tidied up the differences between Puppy, Fatdog and EasyOS.
'momanager' is builtin to EasyOS (in rootfs-skeleton/usr/sbin in woofQ), not a PET. Here is the latest script, with a false .gz, see attached.
I have also written a how-to for EasyOS:
https://easyos.org/dev/translate-easyos ... guage.html
'momanager' is builtin to EasyOS (in rootfs-skeleton/usr/sbin in woofQ), not a PET. Here is the latest script, with a false .gz, see attached.
I have also written a how-to for EasyOS:
https://easyos.org/dev/translate-easyos ... guage.html
- Attachments
-
- momanager.gz
- false .gz, place at /usr/sbin
- (170.99 KiB) Downloaded 191 times
[url]https://bkhome.org/news/[/url]