Some language-dependent strings won't be adapted after changing the language

Bug #601154 reported by Johannes Wettinger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
RevAger
Fix Released
Medium
Johannes Wettinger
1.3
Won't Fix
Medium
Unassigned

Bug Description

Some language-dependent strings won't be adapted after changing the language. The following strings are affected:
* all the severities in the review
* the invitation text inside the review protocols

Maybe there are some more strings affected. The reason for this problem is the fact that these strings are stored either inside the review file or in the application settings database.

Tags: 1.4

Related branches

Daniel Kulesz (kuleszdl)
Changed in revager:
importance: Undecided → Medium
tags: added: 1.4
Changed in revager:
status: New → In Progress
Revision history for this message
Johannes Wettinger (jojow) wrote :

I suggest to fix this issue using the following solution:

* The class org.revager.app.model.Data provides the following methods:
-- getDefLangSeverities
-- getDefLangRoles
-- getDefLangRecommendations
-- getDefLangCatalogs
-- getDefLangInvitationText

* In 'org.revager.app.ReviewManagement' there will be a new method called 'organizeTranslations()'. It is called inside 'org.revager.app.ApplicationControl.loadReview()' and tries to migrate the language-dependent strings of the review file using the methods in 'org.revager.app.model.Data' mentioned above.

* On the change of language the default catalogs for the selected language will be loaded inside the Aspects Manager if they haven't been loaded already.

Changed in revager:
assignee: nobody → Johannes Wettinger (jojow)
Revision history for this message
Daniel Kulesz (kuleszdl) wrote :

Sounds nice. But what would happen in case of "partial" translations (in the sense of not all the strings are translated)?

Revision history for this message
Johannes Wettinger (jojow) wrote :

Daniel, what do you mean exactly?

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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