Running the testplan on stonking:

1. Launch a container and get a root shell in it:

```
$ lxc launch ubuntu-daily:stonking evince-l10n
Launching evince-l10n
$ lxc shell evince-l10n
root@evince-l10n:~#
```

2. In that shell, generate a German locale and install evince:

```
root@evince-l10n:~# locale-gen de_DE.UTF-8
Generating locales (this might take a while)...
  de_DE.UTF-8... done
Generation complete.
root@evince-l10n:~# apt update
root@evince-l10n:~# apt install -y evince
root@evince-l10n:~# apt policy evince-common
evince-common:
  Installed: 49~alpha-2ubuntu3
  Candidate: 49~alpha-2ubuntu3
  Version table:
 *** 49~alpha-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/universe amd64 Packages
        100 /var/lib/dpkg/status
```

The installed version is 49~alpha-2ubuntu3.

3. Check for the German translation:

```
root@evince-l10n:~# ls -l /usr/share/locale/de/LC_MESSAGES/evince.mo
ls: cannot access '/usr/share/locale/de/LC_MESSAGES/evince.mo': No such file or 
directory
root@evince-l10n:~# LANG=de_DE.UTF-8 gettext -d evince Print
Print
```

As expected, the .mo file doesn't exist and gettext prints "Print".

4. Enable -proposed and install the fixed packages:

```
root@evince-l10n:~# add-apt-repository -y --pocket proposed
root@evince-l10n:~# apt install -y -t stonking-proposed evince evince-common 
libevview-4.0-5 libevdocument-4.0-6
root@evince-l10n:~# apt policy evince-common
evince-common:
  Installed: 49~alpha-2ubuntu3.1
  Candidate: 49~alpha-2ubuntu3.1
  Version table:
 *** 49~alpha-2ubuntu3.1 100
        100 http://archive.ubuntu.com/ubuntu stonking-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     49~alpha-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/universe amd64 Packages
```

evince-common is installed from stonking-proposed with version
49~alpha-2ubuntu3.1.

5. Repeat step 3. Expected: /usr/share/locale/de/LC_MESSAGES/evince.mo
exists and gettext prints "Drucken".

```
root@evince-l10n:~# ls -l /usr/share/locale/de/LC_MESSAGES/evince.mo
-rw-r--r-- 1 root root 37945 Oct 20 13:22 
/usr/share/locale/de/LC_MESSAGES/evince.mo
root@evince-l10n:~# LANG=de_DE.UTF-8 gettext -d evince Print
Drucken
```


** Tags removed: verification-needed-stonking
** Tags added: verification-done-stonking

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171416

Title:
  German translation missing in Evince

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/2171416/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to