Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
232ec56b
Unverified
Commit
232ec56b
authored
Nov 27, 2016
by
1dot75cm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add i18n and l10n for document
Signed-off-by:
1dot75cm
<
sensor.wen@gmail.com
>
parent
a234083b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
babel.sh
babel/babel.sh
+6
-0
conf.py
doc/conf.py
+1
-0
requirements-dev.txt
requirements-dev.txt
+1
-0
No files found.
babel/babel.sh
View file @
232ec56b
#!/bin/sh
pybabel extract
-F
babel.ini
-k
_gettext
-k
_ngettext
-k
lazy_gettext
-o
admin.pot
--project
Flask-Admin ../flask_admin
pybabel compile
-f
-D
admin
-d
../flask_admin/translations/
# docs
cd
..
make gettext
cp
build/locale/
*
.pot babel/
sphinx-intl update
-p
build/locale/
-d
flask_admin/translations/
doc/conf.py
View file @
232ec56b
...
...
@@ -57,6 +57,7 @@ release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
locale_dirs
=
[
'../flask_admin/translations/'
]
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
...
...
requirements-dev.txt
View file @
232ec56b
...
...
@@ -13,5 +13,6 @@ geoalchemy2
psycopg2
nose
sphinx
sphinx-intl
coveralls
pylint
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