Hello Mike,
here is my locale setup:
LANG=cs_CZ.UTF-8
LANGUAGE=cs_CZ
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=
Thanks and greets,
Ruda
Dne 21. 02. 19 v 12:00 x2go-i18n-request(a)lists.x2go.org napsal(a):
> Send x2go-i18n mailing list submissions to
> x2go-i18n(a)lists.x2go.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.x2go.org/listinfo/x2go-i18n
> or, via email, send a message with subject or body 'help' to
> x2go-i18n-request(a)lists.x2go.org
>
> You can reach the person managing the list at
> x2go-i18n-owner(a)lists.x2go.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of x2go-i18n digest..."
>
>
> Today's Topics:
>
> 1. Re: Czech translation of X2Go's PyHoca-GUI (Mike Gabriel)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Feb 2019 12:22:43 +0000
> From: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
> To: Ruda Vallo <ruda(a)vallo.cz>
> Cc: x2go-i18n(a)lists.x2go.org
> Subject: Re: [X2Go-i18n] Czech translation of X2Go's PyHoca-GUI
> Message-ID:
> <20190220122243.Horde.x-NtKhu_q3b_7YOPI6VyYhz(a)mail.das-netzwerkteam.de>
>
> Content-Type: text/plain; charset="utf-8"; Format="flowed";
> DelSp="Yes"
>
> Hi Ruda,
>
> On Mo 18 Feb 2019 21:59:16 CET, Ruda Vallo wrote:
>
>> Hi Mike,
>>
>> I am sending a Czech translation in attachment.
> Thanks!
>
>> I have some issues with translation testing:
>>
>> 1) I have trouble with UTF-8 characters, while pyhoca-gui is connecting
>> to X2Go server.
> Ok...
>
>> This is debug output:
>>
>> ### PyHoca-GUI running in development mode ###
>> pyhoca-gui[8148] (x2gosessregistry-pylib) NOTICE: registering X2Go
>> session x2go-staging...
>> pyhoca-gui[8148] (x2goclient-pylib) NOTICE: initializing X2Go session...
>> pyhoca-gui[8148] (x2gocontrolsession-pylib) NOTICE: connecting to
>> [x2go-staging]:22
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 536,
>> in run
>> result = self._run(*self.args, **self.kwargs)
>> File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/frontend.py", line
>> 779, in _do_authenticate
>> self.notifier.send('%s - unknown error' % profile_name, _(u'An
>> unknown error occurred during authentication!'), icon='auth_error',
>> timeout=4000)
>> File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/notify.py", line
>> 138, in send
>> self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()),
>> text.encode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
>> File "/usr/lib/python2.7/dist-packages/x2go/log.py", line 102, in message
>> msg = msg.encode(utils.get_encoding())
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 38:
>> ordinal not in range(128)
> Ok....
>
>> I googled it and created HOTFIX to pyhoca-gui. I added this to the
>> beginning of the file:
>>
>> import sys
>> reload(sys)
>> sys.setdefaultencoding('UTF8')
> Urgh... Ok... need to take a look at that. PyHoca-GUI is still at
> Python2 whereas PyHoca-CLI is already Python3. I guess the proper
> solution is to switch to Python3 (where all strings are UTF-8).
>
> What is your system's locale that pyhoca-gui is running under (send me
> output of the "locale" command).
>
>> I use Ubuntu 18.04 with Gnome3 and Mate.
> Ok.
>
>> 2) I have problem with Gnome3 and pyhoca-gui. In Gnome3 on startup
>> pyhoca-gui is hidden in systray, but Gnome 3 does not show it.
>>
>> I installed Mate. With Mate everything works and I have tested on it.
> This is a known issue. GNOMEv3 dropped Xembed support and PyHoca-GUI
> uses Xembed to embed its icon into the notification area of
> traditional desktops.
>
> I will port the Xembed based tray icon to Ayatana AppIndicator in the
> far future, then you may get it visible on GNOMEv3 again, if you are
> lucky (the GNOMEv3 people think about dropping Indicator support from
> GNOMEv4, soo...).
>
> Greets,
> Mike
Hi Ruda,
I am about to prepare a release for X2Go's alternative client GUI,
called PyHcoa-GUI. I plan to upload the package asap.
Did you start with the translation of PyHoca-GUI at the time we
exchanged emails on X2Go translations already?
If not, do you think you can work on that on short notice?
Most other languages are ok'ish and I will probably get a permission
for uploading i18n changes in upstream to Debian after the upcoming
soft-freeze (for Debian 10).
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de