Univention Bugzilla – Bug 41777
Translate UCS@school compontents to French
Last modified: 2016-11-10 16:00:47 CET
For a customer in Switzerland, we will translate all UCS@school components (UMC, UDM etc.) to French.
Created attachment 7795 [details] Translation files Attached all necessary translation files. The files are currently named de.po and would need to be changed. Also we need to integrate them into a translation package.
AFAIS the provided PO files are completely integrated now. r72468 | initial version of French translation commited Package: ucs-school-translation-fr Version: 1.0.1-0.1.201609091753
As discussed and described at Bug 42260, please add a custom specialcases.json file to the package in order to minimize the work we will have with updating the translation packages.
The helpdesk categories are currently hardcoded in english. They are entries in LDAP and can't be overwritten. The helpdesk module "currently" only uses the first found objectClass=univentionUMCHelpdeskClass object for this. If they need/should be translated too, we need to adjust e.g. the joinscript of the helpdesk module a little bit.
r73360: special case definitions r73361: * the package was rebuild to integrate more special cases * changes in the current UCS@school 4.1r2 branch were merged into the po file tree attached to this bug. The result now contains fuzzy and empty msgids.
I adjusted the fuzzy entries. Please double check. Everything seems to be fine. The only thing I noticed are the UMC categories which are not translated... $ tail -5 fr/ucs-school-umc-common/fr.po #~ msgid "Education" #~ msgstr "Enseignement" #~ msgid "School administration" #~ msgstr "Administration de l'école"
The grid columns "Pages" and "Date" in "Modérer les imprimantes" module are not translated.
(In reply to Florian Best from comment #7) > The grid columns "Pages" and "Date" in "Modérer les imprimantes" module are > not translated. AFAIS this is correct French vocabulary.
r73525: fixes translation of category names Package: ucs-school-l10n-fr Version: 1.1.0-2.2.201610241950
Created attachment 8181 [details] UCRV message strings The attached PO file for UCR variables has to be translated.
As follows, my suggestions: #: ucs/web/overview/entries/service/teacherconsole/label msgid "UCS@school" msgstr "UCS@school" #: ucs/web/overview/entries/service/teacherconsole/description msgid "Access to the UCS@school modules in the Univention Management Console" msgstr "Accès aux modules UCS@school dans Univention Management Console" #: ucs/web/overview/entries/service/teacherconsole/link msgid "/univention-management-console" msgstr "/univention-management-console?lang=fr-FR"
Similar to univention-l10n-fr, we would need a UCR hook script... We need to add ucs-school-l10n-fr as recommends to the installer + the base UCS@school package in order to ensure that French translations are directly available.
(In reply to Alexander Kläser from comment #12) > Similar to univention-l10n-fr, we would need a UCR hook script... ... we might have problems at this point as the UCR hook uses a predefined translation domain.
r74223 adds translation of UCR variables. Package: ucs-school-l10n-fr Version: 1.1.1-0.3.201611081420 Branch: ucs_4.1-0 Scope: ucs-school-4.1r2
r74224 fixes a typo in debian/*.postinst Package: ucs-school-l10n-fr Version: 1.1.1-1.4.201611081426 Branch: ucs_4.1-0 Scope: ucs-school-4.1r2
I forgot to mention that we need dependencies for the translation package in order to install it automatically. AFAIS, it would be sufficient that ucs-school-umc-common recommdnes ucs-school-l10n-fr.
ucs-school-l10n-fr (1.1.1-2): r74255 | Bug #41777: don't register french language by default ucs-school-umc-common (6.0.0-2): r74256 | Bug #41777: add recommended package ucs-school-l10n-fr ucs-school-umc-common.yaml: r74257 | YAML Bug #41777 ucs-school-l10n-fr.yaml: r74257 | YAML Bug #41777
I needed to remove univention-l10n-fr and univention-management-console form the list of dependencies. Otherwise the complete French translation (i.e., univention-l10n-fr) would have been installed. I also needed to fix a typo to the script for translating the UCR variables. ucs-school-l10n-fr (1.1.1-4): r74260 | Bug #41777: adjust typo in path of UCR script r74258 | Bug #41777: adjust dependencies ucs-school-l10n-fr.yaml: r74261 | Bug #41777: adjust package version r74259 | Bug #41777: adjust package version
Now, everything looks fine and behaves as it should: * French UCS@school translations are installed but not shown unless univention- l10n-fr is installed, as well. * The installer is shown in French. * Updating UCS@school will install French UCS@school translations. * UCR variables are translated. * UMC categories are translated. Changes: OK YAML files: OK, fixed a little typo [r74262] → VERIFIED
univention-l10n-tools is not available in UCS 4.1-3 and therefore not installable.
(In reply to Sönke Schwardt-Krummrich from comment #20) > univention-l10n-tools is not available in UCS 4.1-3 and therefore not > installable. As discussed, this is OK. ucs-school-umc-common recommends ucs-school-l10n-fr and ucs-school-l10n-fr depends on univention-l10n-tools. On 4.1-3, ucs-school-l10n-fr will simply not be installed. I added some additional information to the YAML file for manual installation of French translations [r74274].
UCS@school 4.1 R2 v7 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v7-de.html If this error occurs again, please clone this bug.