Page 15 of 15

Posted: Mon 02 May 2016, 18:38
by don570
I noticed that in Slacko 6 , yaf-splash is a link to box-splash
so it will support more options.
_______________________________________________

Re: pMusic 5.0.1

Posted: Tue 19 Jul 2016, 03:58
by vicmz
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. :shock:

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.
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:

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).

momanager

Posted: Thu 29 Jun 2017, 09:32
by L18L
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

Posted: Fri 30 Jun 2017, 06:07
by step
L18L, welcome back to the i18n business!

momanager for developers

Posted: Fri 30 Jun 2017, 07:56
by L18L
step wrote:L18L, welcome back to the i18n business!
Thank you.

You are the one who gave me the idea to create pot files with comments from source....

bug

Posted: Fri 30 Jun 2017, 18:13
by L18L
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.

MoManager

Posted: Fri 18 Aug 2017, 13:51
by L18L
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.

Re: bug

Posted: Sat 19 Aug 2017, 14:38
by L18L
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 :wink:

Posted: Sat 19 Aug 2017, 15:55
by don570
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?

______________________________________________

momanager bug

Posted: Sat 19 Aug 2017, 17:50
by L18L
don570 wrote:Maybe I forgot to restart Xwindows?
I made a similiar experiment in Fatdog, trying with French:

Code: Select all

# LANG=fr momanager

(process:28136): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Next try:

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"
Successfully created a tarball MoManager-fr-UNKNOWN.tar.gz

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.

Posted: Sat 19 Aug 2017, 18:00
by don570
(process:28136): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
I remember seeing that error!
__________________________________

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
________________________________

Posted: Sat 19 Aug 2017, 18:34
by L18L
don570 wrote:Tip: refreshing or deleting /tmp files is necessary when switching from
one language to another while translating.
refreshing is also required if code changed (devs use to do this)
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
________________________________
I have also no installatiuon of Easy linux, just worked a little behind the curtains...
http://barryk.org/news/?viewDetailed=00652

Posted: Sat 19 Aug 2017, 18:57
by don570
refreshing is also required if code changed (devs use to do this)
Good point. I noticed that refreshing was necessary when I modified my
script with more gettext strings.
________________________________________________________

m omanager

Posted: Sun 20 Jan 2019, 15:39
by L18L

Posted: Tue 14 Jan 2020, 00:44
by BarryK
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