-
-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Description
- Flex version: latest
mastercommit (b7e0b329093496714b8d083d3da0d28e68f17da3)
Hello!
I'm building the next version of my personal site which is written fully in french - using Flex. I thus enabled translation so the template's sentences are all translated in french as well, however there's a single sentence which isn't: Switch to the dark | light | browser theme at the very bottom, as you can see here on every page.
I have followed these instructions to the letter. Here's an extract of the relevant parts of my pelicanconf.py:
PLUGINS = [ # They are all installed through PyPI
'i18n_subsites',
'related_posts',
'neighbors',
'seo',
'sitemap',
'md_include',
'htmlmin',
]
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
I18N_TEMPLATES_LANG = 'en'
DEFAULT_LANG = 'fr'
LOCALE = ('fr-FR', 'fr_FR', 'fr_FR.UTF8', 'fr_FR.UTF-8') # I'm developing on both Linux and Windows
OG_LOCALE = 'fr_FR'Reading Flex' source code, I didn't found any issue that would make this sentence to be untranslated.
Also here's my requirements:
pelican[markdown]~=4.11
pelican-related-posts~=1.0
pelican-neighbors~=1.2
pelican-seo~=1.4
pelican-sitemap~=1.2
pelican-htmlmin~=2.0
pelican-i18n-subsites~=1.0
pelican-markdown-include~=1.0
pymdown-extensions~=10.15
Note: although I heavily customized Flex to meet my needs through custom CSS and configuration tweaks, I didn't modified a single line of Flex' source code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels