Tryton - Issues

 

Issue1658

Title Wrong translation language at startup in neso
Priority bug Status testing
Superseder Nosy List bosse, ced, yangoon
Type behavior Components neso
Assigned To Keywords
Reviews

Created on 2010-08-24.12:32:53 by yangoon, last changed by yangoon.

Files
File name Uploaded Type Edit Remove
neso_german.png yangoon, 2010-08-24.12:32:53 image/png
Messages
msg12191 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2012-12-14.13:04:34
Still valid, even worse the menu doesn't show up localized on startup.
msg12154 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2012-12-13.23:09:53
Is the issue still there?
msg7640 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2011-03-06.14:37:27
This is only Neso.

A slightly similar issue occurs for me sometimes (not always reproducible) on the client, when getting to the account wizard, where default payable and receivable are selected. The account in the first field is shown sometimes in english, the second already localized and subsequently the localization behaves normal.

It must have to do with some initial context, because also on Neso localization works usually for me with databases after some data are filled in.
msg7638 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2011-03-06.04:31:59
It is only with Neso?
msg7392 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2011-01-15.19:10:10
another description at https://bugs.tryton.org/roundup/issue1827
msg7043 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-10-12.19:26:21
Yes, I can reproduce this behavior constantly with the following characteristics:

- after a restart of neso localization looks like neso_german.png
- changing to english works as expected
- changing back to german:
  - shows english UI
  - after Ctl + R shows german menu (like neso_german.png)
  - after Ctl + R again falls back to english again

but as soon as one view is opened
- going back to menu
- Ctl + R
-> german localization throughout as expected

=> Issue only appears at the beginning of the session when the menu is the only opened tab.
msg7042 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2010-10-12.16:04:28
You can reproduce it each time?
msg7041 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-10-12.15:15:29
Still same issue, language context seems to be lost in some cases in neso.
msg7030 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2010-10-09.12:12:34
Could not reproduce.
Could try with last version there was some fixes about translation.
msg6769 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-08-24.17:05:53
- Download fresh neso instance with tryton-dev.py
- Start neso
- Create database with german language
- Install account_de_skr03
- Complete wizards

Result is like neso_german.png

All errors I get are

/home/mathiasb/bin/tryton/tip3/neso/trytond/trytond/ir/cron.py:114: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  tb_s += error.message.decode('utf-8', 'ignore')
/home/mathiasb/bin/tryton/tip3/neso/tryton/tryton/gui/window/tree.py:206: GtkWarning: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
  radiotb.set_icon_widget(hbox)
/home/mathiasb/bin/tryton/tip3/neso/tryton/tryton/gui/window/tree.py:211: GtkWarning: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
  self.toolbar.insert(radiotb, -1)
msg6768 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2010-08-24.15:04:47
I need precise instruction.
msg6767 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-08-24.15:00:56
I can only reproduce on neso. 

I am on tip, applied patches are from
http://codereview.appspot.com/1886045/ for tryton
and
http://codereview.appspot.com/1954041 for neso

Created a new database, installed account_de_skr03, got the partial translation as described.
German language was activated as usually, but I tried nevertheless to update a backup of this database by reimporting it. But didn't change anything.

Strange indeed.
msg6764 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2010-08-24.14:34:34
Could you describe the process to show this issue?
msg6761 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-08-24.12:58:54
Directly after (re)login translation works, first client action makes it fail.
msg6760 (view) Author: [hidden] (yangoon) (Tryton translator) Date: 2010-08-24.12:32:53
Encountering on tip with neso, that client menu and modules menu are shown translated, but all the rest is displayed untranslated. Joined a screenshot of a neso instance running in german localization.
History
Date User Action Args
2012-12-14 13:04:35yangoonsetassignedto: yangoon ->
messages: + msg12191
2012-12-13 23:09:53cedsetstatus: chatting -> testing
assignedto: yangoon
messages: + msg12154
2012-03-12 22:52:32cedlinkissue1740 superseder
2011-11-14 18:16:02cedsettitle: Lost translation -> Wrong translation language at startup in neso
2011-11-14 18:15:35cedsetcomponent: + neso
2011-09-30 21:04:28cedlinkissue2002 superseder
2011-09-14 19:40:51cedsetassignedto: ced -> (no value)
2011-03-06 14:37:27yangoonsetmessages: + msg7640
2011-03-06 04:32:19cedsetstatus: testing -> chatting
2011-03-06 04:31:59cedsetmessages: + msg7638

Showing 10 items. Show all history (warning: this could be VERY long)