Activity log for bug #1970270

Date Who What changed Old value New value Message
2022-04-25 21:10:16 Aaron Rainbolt bug added bug
2022-04-26 04:20:27 Aaron Rainbolt bug added subscriber Lubuntu Packages Team
2022-04-26 04:21:28 Aaron Rainbolt tags jammy libreoffice localization ui jammy libreoffice localization lubuntu ui
2022-04-26 04:54:47 Aaron Rainbolt description 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: 1: Create a new virtual machine as QEMU/KVM User session within virt-manager, using the Lubuntu 22.04 ISO from the official download page. 2: When the live DVD boots up, start the installation process. 3: At the first screen of the installation, select a language other than American English. 4: Finish the installation using all the default options, and boot into the newly installed system. 5: 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. 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. 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.
2022-04-26 09:54:59 Adolfo Jayme Barrientos lubuntu-meta (Ubuntu): importance Undecided High
2022-04-26 09:55:03 Adolfo Jayme Barrientos bug added subscriber Adolfo Jayme
2022-05-06 04:01:16 Aaron Rainbolt bug watch added https://github.com/calamares/calamares/issues/1942
2022-05-06 19:07:57 Aaron Rainbolt bug task added ubuntustudio-meta (Ubuntu)
2022-05-06 19:42:54 Aaron Rainbolt bug task added calamares-settings-ubuntu (Ubuntu)
2022-05-06 19:52:32 Erich Eickmeyer bug task deleted ubuntustudio-meta (Ubuntu)
2022-05-06 19:52:39 Erich Eickmeyer bug task deleted lubuntu-meta (Ubuntu)
2022-05-06 19:52:56 Erich Eickmeyer bug added subscriber Ubuntu Studio Bugs
2022-05-06 19:53:12 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu): status New Confirmed
2022-05-06 19:53:17 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu): importance Undecided High
2022-05-06 19:53:32 Erich Eickmeyer nominated for series Ubuntu Impish
2022-05-06 19:53:32 Erich Eickmeyer bug task added calamares-settings-ubuntu (Ubuntu Impish)
2022-05-06 19:53:32 Erich Eickmeyer nominated for series Ubuntu Kinetic
2022-05-06 19:53:32 Erich Eickmeyer bug task added calamares-settings-ubuntu (Ubuntu Kinetic)
2022-05-06 19:53:32 Erich Eickmeyer nominated for series Ubuntu Jammy
2022-05-06 19:53:32 Erich Eickmeyer bug task added calamares-settings-ubuntu (Ubuntu Jammy)
2022-05-06 19:53:40 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Jammy): status New Confirmed
2022-05-06 19:53:44 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Impish): status New Won't Fix
2022-05-06 19:54:09 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Jammy): importance Undecided High
2022-05-06 19:54:13 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Kinetic): importance High Medium
2022-05-06 19:54:16 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Kinetic): importance Medium High
2022-05-06 20:04:43 Aaron Rainbolt tags jammy libreoffice localization lubuntu ui calamares jammy kinetic libreoffice localization ui
2022-05-06 20:12:46 Erich Eickmeyer tags calamares jammy kinetic libreoffice localization ui calamares jammy kinetic libreoffice localization lubuntu ubuntustudio ui
2022-05-24 22:30:14 Aaron Rainbolt attachment added Bind-mounts /run/systemd/resolve from the live environment to the installed system during installation, allowing packages to be installed at OS install time. https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1970270/+attachment/5592730/+files/libreOfficeLocalizationFix.diff
2022-05-25 00:29:42 Ubuntu Foundations Team Bug Bot tags calamares jammy kinetic libreoffice localization lubuntu ubuntustudio ui calamares jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui
2022-05-25 00:29:49 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2022-06-01 00:11:56 Ubuntu QA Website tags calamares jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui calamares iso-testing jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui
2022-08-04 21:16:04 Launchpad Janitor calamares-settings-ubuntu (Ubuntu Kinetic): status Confirmed Fix Released
2022-08-07 20:06:10 Erich Eickmeyer calamares-settings-ubuntu (Ubuntu Jammy): status Confirmed In Progress
2022-08-07 21:29:26 Aaron Rainbolt description 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. [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.
2022-08-07 21:30:06 Aaron Rainbolt attachment added LOl10nFix.diff https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1970270/+attachment/5607275/+files/LOl10nFix.diff
2022-08-07 21:41:13 Aaron Rainbolt bug added subscriber Ubuntu Stable Release Updates Team
2022-08-16 21:28:53 Erich Eickmeyer summary LibreOffice localization is not working out of the box [SRU] LibreOffice localization is not working out of the box
2022-08-19 23:57:24 Steve Langasek calamares-settings-ubuntu (Ubuntu Jammy): status In Progress Fix Committed
2022-08-19 23:57:26 Steve Langasek bug added subscriber SRU Verification
2022-08-19 23:57:30 Steve Langasek tags calamares iso-testing jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui calamares iso-testing jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui verification-needed verification-needed-jammy
2022-08-22 23:20:16 Aaron Rainbolt tags calamares iso-testing jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui verification-needed verification-needed-jammy calamares iso-testing jammy kinetic libreoffice localization lubuntu patch ubuntustudio ui verification-done verification-done-jammy
2022-08-31 16:37:21 Launchpad Janitor calamares-settings-ubuntu (Ubuntu Jammy): status Fix Committed Fix Released
2022-08-31 16:37:24 Robie Basak removed subscriber Ubuntu Stable Release Updates Team