ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #11032
[Bug 1970270] Update Released
The verification of the Stable Release Update for calamares-settings-
ubuntu has completed successfully and the package is now being released
to -updates. Subsequently, the Ubuntu Stable Release Updates Team is
being unsubscribed and will not receive messages about this bug report.
In the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1970270
Title:
[SRU] LibreOffice localization is not working out of the box
Status in calamares-settings-ubuntu package in Ubuntu:
Fix Released
Status in calamares-settings-ubuntu source package in Impish:
Won't Fix
Status in calamares-settings-ubuntu source package in Jammy:
Fix Released
Status in calamares-settings-ubuntu source package in Kinetic:
Fix Released
Bug description:
[Impact]
* Due to an error in our configuration, users who install Lubuntu in a
language other than English end up with LibreOffice still displaying in
English. The localization package for the user's language must be
installed manually in order to make LibreOffice display properly.
* This is because our Calamares configuration does not allow the
installed system to access the Internet during the installation
process, as the resolv.conf file of the installed system is left as a
dangling symlink. While our configuration is designed to automatically
download and install the proper localization files during installation,
it fails to actually download those files due to this problem. This bug
has been verified to affect both Lubuntu and Ubuntu Studio.
* Additionally, the current configuration only installs the LibreOffice
help files for the chosen language, pulling in the localization package
as a dependency. This fails on languages such as Icelandic where the
localization package exists but the help package doesn't.
* This SRU resolves the issue by bind-mounting /run/systemd/resolve from
the live environment to the installed system. This provides the
installed system the required resolv.conf file, permitting it to access
the Internet and install packages during the initial installation
process. Additionally, the localization package is explicitly pulled
in, ensuring that the localization package is installed regardless of
whether or not the help package for the selected language exists.
[Test plan]
* Create a VM using Lubuntu or Ubuntu Studio 22.04's ISO, and boot into
the live environment.
* Double-click the installation icon on the VM's desktop.
* Select a language other than English to install in (I usually use
German, but French and Icelandic will work too).
* Continue with the rest of the installation in your selected language.
This bug appears to occur whether you use the defaults or install in
an advanced configuration.
* When the installation is complete, allow the VM to reboot.
* Once the VM has rebooted, launch any LibreOffice app (like LibreOffice
writer). You will see the user interface is in English despite your
language choice during the installation process.
* Boot back into the live ISO of your chosen flavor, and install the
calamares-settings-ubuntu-common package from this SRU into the live
environment of the VM.
* Install either the calamares-settings-lubuntu or
calamares-settings-ubuntustudio package into the live environment of
the VM, depending on which flavor you are testing.
* Repeat the steps to reproduce the bug. This time, when you launch a
LibreOffice app after installing the flavor, the user interface will
appear in your desired language (if the proper localization package for
LibreOffice exists).
[Where problems could occur]
* A multilingual user may be annoyed to find that LibreOffice is
displaying in their native language when they prefer for it to display
in English. But having LibreOffice display in an
understandable-but-non-ideal language is a lot better than having it
display in an unintelligible language, and the user can change the
language LibreOffice display language from within the office suite's
options.
* An error in the configuration files could potentially cause a breakage
in the "mount" or "packages" module of Calamares, potentially resulting
in installation failures or a system too damaged to use after
installation. Due to the rather obvious nature of such bugs and the
thorough test suite we intend to put the package through, such an error
will be easy to notice.
-----
Original bug report:
Using Lubuntu 22.04 within a virtual machine made using virt-manager,
KVM, and QEMU.
When Lubuntu 22.04 is installed in a language other than English, the
LibreOffice UI displays in English, despite the user's language
choice. The issue can be worked around by running "sudo apt update"
followed by "sudo apt install libreoffice-l10n-<lang>", where <lang>
is replaced with the 2-character language code (for example, de or
fr). This will cause LibreOffice to display in the correct language.
I have tested using both German and French language options at install
time - the problem exists in both scenarios.
Reproducibility: 100%
Steps to reproduce (edited to be more precise):
1: Open virt-manager.
2: Add a connection to "QEMU User session".
3: Create a new virtual machine under "QEMU User session". I set the OS as "Ubuntu 21.04", since that's the newest version of Ubuntu that my version of virt-manager supports. I gave the VM 20 GB of hard drive space, 4 GB of RAM, and 2 CPU cores. I didn't make any other customizations.
4: Once the VM is running, select "Try or install Lubuntu" in the GRUB prompt.
5: Once Lubuntu is done booting, double-click "Install Lubuntu 22.04".
6: At the first screen of the installation, select a language other than American English. I tried using German and French, and they both reproduced the issue.
7: Use the default keyboard settings for your chosen language.
8: Use the "Erase disk" option when choosing where to install Lubuntu.
9: Set your name as "User", your username as "user", your computer name as "user-germantest", and your password as "z". I also enabled automatic login here.
10: Wait for the installation to finish, then reboot.
11: Open LibreOffice Writer.
Expected result: The UI should be displayed in the language selected
at install time.
Actual result: The UI displays in English, regardless of the language
selected at install time.
Additional notes:
I am using LibreOffice version 7.3.2 within the VM. I am using fully-
updated Ubuntu Studio 21.10 as the host OS.
Prior to running "sudo apt update", there are no LibreOffice
localization packages available in apt (as verified by doing "apt-
cache search l10n"). After the update, the packages appear.
I have not yet tested Ubuntu 22.04 for this problem, so I do not know
if this applies to Ubuntu as a whole, or to Lubuntu alone. I do intend
to test this in the near future.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1970270/+subscriptions