Merge pull request #650 from xnox/i18n-docs

Update i18n docs
This commit is contained in:
Steve Langasek 2020-03-11 15:35:56 -07:00 committed by GitHub
commit eca2728dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -28,7 +28,7 @@ install_deps:
python3-bson
i18n:
$(PYTHON) setup.py build
$(PYTHON) setup.py build_i18n
dryrun: probert i18n
$(MAKE) ui-view DRYRUN="--dry-run --bootloader uefi"

View File

@ -12,6 +12,18 @@ also be discussed in the forum at https://forum.snapcraft.io.
Our localization platform is Launchpad, translations are managed at
https://translations.launchpad.net/ubuntu/+source/subiquity/
To update translation template in launchpad:
* update po/POTFILES.in with any new files that contain translations
* execute clean target, i.e. $ debuild -S
* dput subiquity into Ubuntu
To export and update translations in subiquity:
* Wait for new subiquity to publish
* Request fresh translation export from Launchpad at
https://translations.launchpad.net/ubuntu/focal/+source/subiquity/+export
* wait for export to generate
* download, unpack, rename .po files into po directory, and commit changes
# Acquire subiquity from source
`git clone https://github.com/CanonicalLtd/subiquity`

1
debian/rules vendored
View File

@ -14,6 +14,7 @@ export PYBUILD_OPTION="-v"
override_dh_auto_clean:
rm -f .subiquity/subiquity-debug.log installer/geninstaller.log
rm -rf probert/
python3 setup.py build_i18n
dh_auto_clean
override_dh_install: