Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
b6a543be
Commit
b6a543be
authored
Nov 24, 2015
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #781 from edx/andya/speed-up-translation-process
Speed up the translation process
parents
929c2026
5ab31f11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
scripts/i18n-push.sh
+9
-3
No files found.
scripts/i18n-push.sh
View file @
b6a543be
...
...
@@ -21,14 +21,20 @@
cd
`
dirname
$BASH_SOURCE
`
&&
cd
..
# Note we only extract the English language strings so they can be
# sent to Transifex. All other language strings will be pulled
# down from Transifex and so don't need to be generated.
echo
"Extracting i18n strings..."
python manage.py makemessages
--all
python manage.py makemessages
--all
-d
djangojs
django-admin.py makemessages
--locale
=
en
--ignore
=
"edx-ora2/*"
--ignore
=
"build/*"
--ignore
=
"node_modules/*"
echo
"Extracting client-side i18n strings..."
django-admin.py makemessages
--locale
=
en
--ignore
=
"edx-ora2/*"
--ignore
=
"build/*"
--ignore
=
"node_modules/*"
-d
djangojs
echo
"Generating dummy strings..."
i18n_tool dummy
read
-p
"Push strings to
t
ransifex? [y/n] "
RESP
read
-p
"Push strings to
T
ransifex? [y/n] "
RESP
if
[
"
$RESP
"
=
"y"
]
;
then
i18n_tool transifex push
echo
" == Pushed strings to Transifex"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment