diff --git a/.gitignore b/.gitignore index 316f7d4d..4384da0d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ __pycache__ *~ .directory .vscode/ +*.mo # Finder (MacOS) makes these automatically. .DS_Store diff --git a/conf.py b/conf.py index 4a21caa1..50b99ec3 100644 --- a/conf.py +++ b/conf.py @@ -94,3 +94,10 @@ latex_documents = [ (master_doc, 'GodotEngine.tex', 'Godot Engine Documentation', 'Juan Linietsky, Ariel Manzur and the Godot community', 'manual'), ] + +# -- I18n settings -------------------------------------------------------- +locale_dirs = ['locale/'] +gettext_compact = False +# Exclude class reference when marked with tag i18n. +if tags.has('i18n'): + exclude_patterns = ['classes']