Bug 42853 - Merge to 4.2-0 - Add French translation to Debian Installer
Merge to 4.2-0 - Add French translation to Debian Installer
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Alexander Kläser
Richard Ulmer
: interim-1
: 44499 (view as bug list)
Depends on: 42327
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-04 14:06 CET by Alexander Kläser
Modified: 2020-07-05 08:16 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Development Internal
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):
Max CVSS v3 score:


Attachments
Screenshot from Android phone (141.72 KB, image/png)
2017-03-29 15:09 CEST, Alexander Kläser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-11-04 14:06:55 CET
Please merge your changes to the 4.2-0 branch.


+++ This bug was initially created as a clone of Bug #42327 +++

Translations for PO files adjusted via our patches repository were not provided as only PO files in UCS 4.1 branch were considered. Resulting from this is, for example, an incomplete French translation for Debian Installer.
Comment 1 Richard Ulmer univentionstaff 2016-11-07 11:09:28 CET
I've copied all the patches over from ucs4.1-4, because none of the files adapted via the patches have changed from ucs4.1-4 to 4.2-0 .

svn: 16859
Comment 2 Alexander Kläser univentionstaff 2017-02-17 10:28:08 CET
OK, all patches have been merged to 4.2-0.

→ VERIFIED
Comment 3 Erik Damrose univentionstaff 2017-02-22 16:04:59 CET
Back to resolved: univention-l10-fr was not added to univention-dvd, i fixed it in r76992. I did not check any other possible missing merges, please verify again
Comment 4 Eduard Mai univentionstaff 2017-03-24 17:52:38 CET
Switching to French in Debian Installer does not change the language to French. Works for German.
Comment 5 Eduard Mai univentionstaff 2017-03-24 19:18:58 CET
(In reply to Eduard Mai from comment #4)
> Switching to French in Debian Installer does not change the language to
> French. Works for German.

This was tested with following ISO image:
ucs_4.2-0-20170324-162455-dvd-amd64.iso
Comment 6 Alexander Kläser univentionstaff 2017-03-27 11:00:01 CEST
(In reply to Eduard Mai from comment #4)
> Switching to French in Debian Installer does not change the language to
> French. Works for German.

AFAIS, the patches have been imported to 4.2, yet the following packages need to be rebuild: hw-detect, localechooser, netcfg, partman-btrfs, pkgsel, user-setup

Packages are building...
Comment 7 Eduard Mai univentionstaff 2017-03-27 15:18:47 CEST
After rebuilding the DVD the language can be successfully switched to French. Please note that one can still end up with English as the displayed language by choosing French in 'select a language' and then 'Canade' in 'select your location'.
The system-setup is currently untested due to issues described in Bug #43848. A DVD rebuild and new test is necessary once the fix is packaged.
Comment 8 Eduard Mai univentionstaff 2017-03-28 18:45:03 CEST
The system-setup fails to start when French language is selected. The following changes should fix this. localechooser package has been rebuild. Waiting for the DVD build to finish.

r17433 | Bug #42853: fixup r17432
r17432 | Bug #42853: patch was missing changes from 4.1
Comment 9 Alexander Kläser univentionstaff 2017-03-29 15:09:01 CEST
Created attachment 8681 [details]
Screenshot from Android phone

On an Android phone, the category bubbles are lacking a bit of space. The labels are misaligned.
Comment 10 Alexander Kläser univentionstaff 2017-03-29 15:15:43 CEST
(In reply to Alexander Kläser from comment #9)
> Created attachment 8681 [details]
> Screenshot from Android phone
> 
> On an Android phone, the category bubbles are lacking a bit of space. The
> labels are misaligned.

Wrong bug :) .
Comment 11 Alexander Kläser univentionstaff 2017-03-30 01:08:17 CEST
Test with latest DVD -> failed.

The package univention-l10n-fr was not installed on the system and thus an error "Specified locale is not available" was shown when loading the setup wizard.

The problem here seemed to be that the latest localechooser package was not included on the DVD as two jenkins DVD build jobs (without the option "Keep installer") have been cancelled. Thus the changes from comment 8 have not been included on the DVD.

DVD build has been triggered.

@Richard, can you try again?
Comment 12 Richard Ulmer univentionstaff 2017-03-30 14:28:19 CEST
The whole installer is now translated to french, but I still found two problems:
1. The Software components list in the installer was empty when choosing french.
2. French was not availabele in the UMC.
Comment 13 Alexander Kläser univentionstaff 2017-03-30 14:36:17 CEST
(In reply to Richard Ulmer from comment #12)
> The whole installer is now translated to french, but I still found two
> problems:
> 1. The Software components list in the installer was empty when choosing
> french.
> 2. French was not availabele in the UMC.

Problem (2) has been fixed. It seems that en_US has been chosen as initial locale in the setup module process (in the init() method). As en_US was not available, it was converted to "C" and in consequence fr_FR was missing. Now the initial locale is set using the UCR variable "locale/default". This is more robust instead of relying on the locale value of the module process (which might have not been initialized correctly).

Problem (1) might be related to the en_US locale not being available. I fixed this in startxwithfirefox, where en_US is added to the list of available locales (i.e., UCR variable "locale").


univention-system-setup (10.0.10-12):
r78500 | Bug #42853: Ensure to use correct initial locale+support en_US as locale
Comment 14 Richard Ulmer univentionstaff 2017-03-30 16:11:03 CEST
Ok, the UMC is available in French now. -> VERIFIED

Problem (1) still persists. Opened Bug #44162 .
Comment 15 Stefan Gohmann univentionstaff 2017-04-04 18:28:34 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".
Comment 16 Philipp Hahn univentionstaff 2020-07-05 08:16:27 CEST
*** Bug 44499 has been marked as a duplicate of this bug. ***