Bug 40917 - univention-ucs-translation-template: Wrong languages UCR variable is set
univention-ucs-translation-template: Wrong languages UCR variable is set
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-2-errata
Assigned To: Eduard Mai
Alexander Kläser
Depends on:
  Show dependency treegraph
Reported: 2016-03-17 15:09 CET by Alexander Kläser
Modified: 2016-08-03 15:56 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback, Internationalization
Max CVSS v3 score:
best: Patch_Available+

patch (664 bytes, patch)
2016-03-23 12:46 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-03-17 15:09:12 CET
While helping a customer who had troubles getting the translation package to work, I noted that the wrong UCR variable is set in the postinst of the created translation package. In my case, there is:

> ucr set umc/server/languages/fr_FR?"French"

However, it should be "ucs" instead of "umc":

> ucr set ucs/server/languages/fr_FR?"French"

Comment 1 Florian Best univentionstaff 2016-03-23 12:46:15 CET
Created attachment 7558 [details]
Comment 2 Alexander Kläser univentionstaff 2016-05-09 14:56:26 CEST
Another bug when calling:
> univention-ucs-translation-build-package.py -s ~/translation/ucs-4.1-1 -c pt -l pt_BR.UTF-8:UTF-8 -n Português

This sets umc/server/languages/pt_PT, however it should be *ucs*/.../pt_*BR*.
Comment 3 Eduard Mai univentionstaff 2016-06-02 15:12:52 CEST
Rev. 69760: Territory part of locale is now written correctly to UCR.
Package: univention-ucs-translation-template
Version: 3.0.1-6.9.201606021505
Scope: errata4.1-2
Comment 4 Alexander Kläser univentionstaff 2016-07-05 11:39:27 CEST
Changes: OK, works as expected
YAML file: FAIL, file is missing
Comment 5 Alexander Kläser univentionstaff 2016-07-15 16:08:29 CEST
Change: OK, still :)
YAML file: OK, minor adjustments [r71034]

Comment 6 Janek Walkenhorst univentionstaff 2016-08-03 15:56:42 CEST