Skip to content

Commit

Permalink
i18n: include jinja file encoding in babel.ini
Browse files Browse the repository at this point in the history
* Currently when you run `python setup.py extract_messages` it will Not include *.jinja template files.
This one will fix that.
  • Loading branch information
Samk13 committed Jan 30, 2025
1 parent ee29707 commit a56a20f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Copyright (C) 2019 CERN.
# Copyright (C) 2019 Northwestern University.
# Copyright (C) 2024 KTH Royal Institute of Technology.
#
# Invenio-RDM-Records is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -16,6 +17,9 @@ encoding = utf-8
[jinja2: **/templates/**.html]
encoding = utf-8

[jinja2: **/templates/**.jinja]
encoding = utf-8

# Extraction from JavaScript files

[javascript: **.js]
Expand Down

0 comments on commit a56a20f

Please sign in to comment.