Duo

Moving from one language to another does not reset not-translated sentences

Bug #298527 reported by Guillaume Lemaître
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duo
Fix Released
Low
Guillaume Lemaître

Bug Description

Suppose that LANG="fr_FR.UTF-8", so the game is in french.

If you go through the language selection menu and select German for example, all the sentences that are translated in fr.po but not in de.po stay in French.

I think it would be better if not-translated sentences would go back to default language, in order to be consistent with observed behaviour when LANG="de_DE.UTF-8"

Changed in duo:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

Maybe some other sentences to translate are linked to exception catching that are directly diisplayed on the console.

For example, the error when a package cannot be imported is currently english only.

P.S.: I still cannot update Rosetta site with latest .pot and .po

Changed in duo:
assignee: nobody → guillaume-lemaitre
Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

In fact, the issue is not quite like this: some strings for which translation does not exist get back to default, whereas some others not.

For example, "Ready", "Pass" buttons and "About" information window never change of localization.

Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

I'm not python-aware enough at this time being to find why such a thing occurs: not all the application seems to belong to the same domain. Maybe later?

Changed in duo:
assignee: guillaume-lemaitre → nobody
Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

It seems that the solution may lay in using tkInter.StringVar elements for the pass and ready buttons, but I still haven't find out how. Furthermore, why those two buttons would be refreshed on a different basis than the remaining widgets of the window?

Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

Fixed in rev. 22

Changed in duo:
assignee: nobody → guillaume-lemaitre
status: Confirmed → Fix Committed
Changed in duo:
milestone: none → 0.9
Revision history for this message
Guillaume Lemaître (guillaume-lemaitre) wrote :

Released in 0.9

Changed in duo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.