Bug 40161 - Не применяется локализация
Summary: Не применяется локализация
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: openuds-server (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-04 21:00 MSK by Andrey Cherepanov
Modified: 2021-06-05 14:48 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2021-06-04 21:00:46 MSK
Несмотря на выбор русского языка и наличия полностью переведённых
/usr/share/openuds/uds/locale/ru/LC_MESSAGES/django.po
/usr/share/openuds/uds/locale/ru/LC_MESSAGES/djangojs.po
локализация не применяется. 

Необходимо выполнить:
cd /usr/share/openuds/uds/locale/ru/LC_MESSAGES/
msgfmt django.po -o django.mo
msgfmt djangojs.po -o djangojs.mo

После этого локализация работает. po-файлы можно удалить.
Comment 1 AEN 2021-06-04 21:02:28 MSK
Андрей, спасибо!
Comment 2 Repository Robot 2021-06-05 10:41:52 MSK
openuds-server-3.0.0-alt7.1 -> sisyphus:

 Sat Jun 05 2021 Andrey Cherepanov <cas@altlinux> 3.0.0-alt7.1
 - NMU: package compiled localization files (ALT #40161)