Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilingue #299

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3d0095e
test
TheMagicia Jan 9, 2019
5af6811
test
TheMagicia Jan 10, 2019
edae37d
test
TheMagicia Jan 10, 2019
60b4957
test
TheMagicia Jan 10, 2019
c5db632
gege
TheMagicia Jan 10, 2019
3b50e4c
test
TheMagicia Jan 10, 2019
0250747
multilingue ok
TheMagicia Jan 24, 2019
43ca6fc
ajout du multilingue
TheMagicia Feb 7, 2019
3ebc4b0
resolution de bug
TheMagicia Feb 8, 2019
8f93744
requirement + picto_default
TheMagicia Feb 13, 2019
18a240a
ajout script GBIF
TheMagicia Feb 13, 2019
ec842f6
Settings.ini.sample comments in English
camillemonchicourt Feb 20, 2019
19fa028
Merge branch 'multilingue' of https://github.com/PnEcrins/GeoNature-a…
camillemonchicourt Feb 20, 2019
aa3348b
config.py.sample comments in English
camillemonchicourt Feb 20, 2019
cab542e
nettoyage et corrections traductions
camillemonchicourt Feb 21, 2019
60c94b5
Rename Homepage photo
camillemonchicourt Feb 21, 2019
895ed7b
Procedure SQL gbif
camillemonchicourt Jul 10, 2019
f9fbad4
correction script import wikimedia
camillemonchicourt Jul 10, 2019
5159579
EN DOC - Install host
camillemonchicourt Jul 10, 2019
2d3b73c
SETTINGS.INI.SAMPLE - Additional comments and default
camillemonchicourt Jul 10, 2019
8d6aca5
EN DOC - Install env and database
camillemonchicourt Jul 10, 2019
513a4c1
EN DOC - Open database
camillemonchicourt Jul 10, 2019
587c85e
GBIF.sql - Comments
camillemonchicourt Jul 10, 2019
9a84f35
OSM as default basemap
camillemonchicourt Jul 11, 2019
dc69a50
EN better translations
camillemonchicourt Jul 11, 2019
2233d36
EN better translations
camillemonchicourt Jul 11, 2019
2471729
Species page - More translations
camillemonchicourt Jul 11, 2019
204b818
HOME - More translations
camillemonchicourt Jul 11, 2019
2189d3f
GBIF.sql - Intersect observations with municipalities
camillemonchicourt Jul 11, 2019
23dd37d
Rank page - More translations
camillemonchicourt Jul 11, 2019
10d32c1
Group page - More translations
camillemonchicourt Jul 11, 2019
7fc691e
Municipality page - More translations
camillemonchicourt Jul 11, 2019
efd2acd
Translate main ranks into English
camillemonchicourt Jul 12, 2019
fd28271
Add phylum pictos
camillemonchicourt Jul 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
from flask_sqlalchemy import SQLAlchemy
from flask_bootstrap import Bootstrap

#import de babel pour traduction
#from flask_babel import Babel, gettext, ngettext
#from flask_babel import Babel

#app = Flask(__name__)
#babel = Babel(app)

APP_DIR = os.path.abspath(os.path.dirname(__file__))
BASE_DIR = os.path.abspath(os.path.join(APP_DIR, os.pardir))
TEMPLATE_DIR = APP_DIR+'/templates'
Expand Down
3 changes: 3 additions & 0 deletions babel.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[python: **.py]
[jinja2: **/templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_
Loading