Remove_builtin: buttons translation + Xdialog.mo... [SOLVED]
Remove_builtin: buttons translation + Xdialog.mo... [SOLVED]
Situation:
It looks like the two buttons have no localisation entry in the .po.
Is there something we can do?
It's not that important, but it would be nice to get this 100% translated.
Thanks!
It looks like the two buttons have no localisation entry in the .po.
Is there something we can do?
It's not that important, but it would be nice to get this 100% translated.
Thanks!
Last edited by Bert on Sat 25 May 2013, 19:13, edited 3 times 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]
[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/
Remove_builtin: buttons translation
Xdialog.mo has Cancel and Help but does not use it.
cancel-label "$gettext 'Cancel'" works
but there is no help-label
I have gtk20.mo and the same problem as Bert.
added gtk20-properties.mo, gtk+.mo gtk-engines.mo without success.
What else could be "or so" ?
cancel-label "$gettext 'Cancel'" works
but there is no help-label
I have gtk20.mo and the same problem as Bert.
added gtk20-properties.mo, gtk+.mo gtk-engines.mo without success.
What else could be "or so" ?
Yes, I too have gtk20.mo and gtk20-properties.mo available.
Gtk20-properties has 'cancel button', but not 'cancel' at first sight.
EDIT: changed the 'cancel-button' to 'cancel'. No effect.
Gtk20-properties has 'cancel button', but not 'cancel' at first sight.
EDIT: changed the 'cancel-button' to 'cancel'. No effect.
[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]
So, it's Xdialog. Test line for it:
Are buttons translated? In my case - yes.
I put Xdialog.mo in two places: /usr/share/locale/ru/LC_MESSAGES/ and /usr/local/share/locale/ru/LC_MESAGES (for Slacko).
Code: Select all
Xdialog --buildlist "test" 0 0 5 abc abc off def def on
I put Xdialog.mo in two places: /usr/share/locale/ru/LC_MESSAGES/ and /usr/local/share/locale/ru/LC_MESAGES (for Slacko).
Please don't laugh now..
You are right rodin s.
I don't have the mo anywhere
I'm sorry
You are right rodin s.
I don't have the mo anywhere
I'm sorry
[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/
Remove_builtin: buttons translation
Very useful, thank you.rodin.s wrote:So, it's Xdialog. Test line for it:Are buttons translated? In my case - yes.Code: Select all
Xdialog --buildlist "test" 0 0 5 abc abc off def def on
I put Xdialog.mo in two places: /usr/share/locale/ru/LC_MESSAGES/ and /usr/local/share/locale/ru/LC_MESAGES (for Slacko).
I had Xdialog.mo in default TEXTDOMAINDIR
moved it to /usr/local/share/locale/de/LC_MESSAGES/
and....
success
Bert
I search a Dutch one for you
wait a moment
found Xdialog.po on the web (charset changed to UTF-8 by me):
Code: Select all
# Dutch Translation.
# Copyright (C) 2003 Free Software Foundation, Inc.
# James Briggs <james@ActionMessage.com>, 2003.
#
msgid ""
msgstr ""
"Project-Id-Version: Xdialog v2.1.2\n"
"POT-Creation-Date: 2002-03-21 13:29+0100\n"
"PO-Revision-Date: 2003-12-03 01:00-0800\n"
"Last-Translator: James Briggs <james@ActionMessage.com>\n"
"Language-Team: Dutch\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/interface.h:80
msgid "OK"
msgstr "OK"
#: src/interface.h:81
msgid "Cancel"
msgstr "Stop"
#: src/interface.h:82
msgid "Yes"
msgstr "Ja"
#: src/interface.h:83
msgid "No"
msgstr "Nee"
#: src/interface.h:84
msgid "Help"
msgstr "Help"
#: src/interface.h:85
msgid "Previous"
msgstr "Vorige"
#: src/interface.h:86
msgid "Next"
msgstr "Volgende"
#: src/interface.h:87
msgid "Print"
msgstr "Print"
#: src/interface.h:88
msgid "Add"
msgstr "Voeg"
#: src/interface.h:89
msgid "Remove"
msgstr "Verwijder"
#: src/interface.h:90
msgid "Hours : Minutes : Seconds"
msgstr "Uren : Minuten : Seconden"
#: src/interface.h:91
msgid "Time stamp"
msgstr "Tijd zegel"
#: src/interface.h:92
msgid "Date - Time"
msgstr "Date - Tijd"
#: src/interface.h:93
msgid "Log message"
msgstr ""
#: src/interface.h:94
msgid "Hide typing"
msgstr ""
Last edited by L18L on Fri 24 May 2013, 15:58, edited 2 times in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Xdialog
Bert,
does it work after using momanager?
I mean there could be some issues because of different location of mo file.
Your job as tester will not be finished before you report success
does it work after using momanager?
I mean there could be some issues because of different location of mo file.
Your job as tester will not be finished before you report success
So I've put the Xdialog.mo in the two places:
/usr/share/locale/nl/LC_MESSAGES/
AND
/usr/local/share/locale/nl/LC_MESSAGES/
Will Momanager see both when creating the pet?
/usr/share/locale/nl/LC_MESSAGES/
AND
/usr/local/share/locale/nl/LC_MESSAGES/
Will Momanager see both when creating the pet?
Last edited by Bert on Fri 24 May 2013, 20:09, 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]
[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/
Xdialog
At first I have been trying to use symlinks....
Then with Xdialog.mo in both locations, Xdialo.pot in /usr/share/doc/nls/Xdialog/
changed all charset to UTF-8 but
-> momanager cannot merge ( red bad news )
Thus there is something to play with for me the next days.....
Then with Xdialog.mo in both locations, Xdialo.pot in /usr/share/doc/nls/Xdialog/
changed all charset to UTF-8 but
-> momanager cannot merge ( red bad news )
Thus there is something to play with for me the next days.....
Alternatively, we could just add /usr/local/share/locale/nl/LC_MESSAGES/xdialog.mo manually, couldn't we?
(in my case, crack open the new pet created by MoManager, add the above and dir2pet again.)
(or try to find info on L18L's hacks.sh and how to use it )
(in my case, crack open the new pet created by MoManager, add the above and dir2pet again.)
(or try to find info on L18L's hacks.sh and how to use 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]
Hi L18L,
I read your comment on Barry's blog:
Only after that did I add the .mo to /usr/local/share/locale...
I just checked, by removing the .mo from /usr/local/etc and xdialog is still running translated.
I think rodin.s gave the second location only for Slacko.
Hope this is useful
I read your comment on Barry's blog:
I would like to add that this is not the case on my box. I had xdialog.mo in /usr/share/locale/nl/LC_MESSAGES only and Xdialog ran translated.While talking about momanager...
... we have found out that Xdialog uses Xdialog.mo in /usr/local/share/locale
Only after that did I add the .mo to /usr/local/share/locale...
I just checked, by removing the .mo from /usr/local/etc and xdialog is still running translated.
I think rodin.s gave the second location only for Slacko.
Hope this is useful
[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: Xdialog
Game overL18L wrote:...Thus there is something to play with for me the next days.....
Xdialog had found its Xdialog.mo in default location before.
Recent Xdialogs must have been compiled without --prefix=/usr
thus it searches its Xdialog.mo in /usr/local/share/locale/
Having the same file in that 2 different locations is on the safe side.
Also sufficient is to have just a symlink in /usr/local/share/locale/....
Not really a hack...
Create it in command line for nl:
ln -s /usr/share/locale/nl/LC_MESSAGES/Xdialog.mo /usr/share/doc/langpack-template/usr/local/share/locale/nl/LC_MESSAGES/Xdialog.mo
The other issue was edit Xdialog.po in momanager
Find in /usr/sbin/momanager line which contains
Code: Select all
LANG=${ORIGLANG} rxvt -e intltool-update --dist --gettext-package=${ATEXTDOMAIN} --output-file=${ATEXTDOMAIN}.po ${ATEXTDOMAIN}1
Code: Select all
#LANG=${ORIGLANG} rxvt -e intltool-update --dist --gettext-package=${ATEXTDOMAIN} --output-file=${ATEXTDOMAIN}.po ${ATEXTDOMAIN}1
Code: Select all
LANG=${ORIGLANG} rxvt -e msgmerge ${ATEXTDOMAIN}1.po ${ATEXTDOMAIN}.pot --output-file=${ATEXTDOMAIN}.po ; #130525
I do not want to make another momanager because I am hoping that all these changes will find their way into woof soon.
http://bkhome.org/blog2/?viewDetailed=00260
Bert,
please change the title to indicate that Xdialog is concerned.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Sorry I did not see this post before.Bert wrote:Hi L18L,
I read your comment on Barry's blog:
I would like to add that this is not the case on my box. I had xdialog.mo in /usr/share/locale/nl/LC_MESSAGES only and Xdialog ran translated.While talking about momanager...
... we have found out that Xdialog uses Xdialog.mo in /usr/local/share/locale
Only after that did I add the .mo to /usr/local/share/locale...
I just checked, by removing the .mo from /usr/local/etc and xdialog is still running translated.
I think rodin.s gave the second location only for Slacko.
Hope this is useful
Yes, it is good to know that Barry has the correctly compiled Xdialog.
...and the symlink is the solution with the lowest memory usage.
All your posts are useful., thank you.