mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 22:35:08 -02:30
Localization Scripts for AWX UI & API
This commit is contained in:
10
tools/scripts/l18n/pre_translation.sh
Normal file
10
tools/scripts/l18n/pre_translation.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Extract Strings from API & UI
|
||||
make docker-compose-sources
|
||||
docker-compose -f tools/docker-compose/_sources/docker-compose.yml run awx_1 make awx-link migrate po messages
|
||||
|
||||
# Move extracted Strings to Translation Directory
|
||||
mv awx/locale/en-us/LC_MESSAGES/django.po translations/
|
||||
mv awx/ui/src/locales/en/messages.po translations/
|
||||
|
||||
Reference in New Issue
Block a user