Hi,
I'm creating multilang site with default language SR and EN, FR, DE supported also. I'm using twig translation filter (|t), all strings in twig templates are written in SR and I don't have sr.yaml file. I choose this approach because there is not much content but some labels/tags etc...
Problem is that on all sr pages twig translates strings to EN. I suppose it does that because no sr.yaml language file is present since I don't need to translate strings that are already in that language.
my config:
languages:
supported:
- sr
- en
- fr
- de
default_lang: sr
include_default_lang: true
include_default_lang_file_extension: true
translations: true
translations_fallback: false
session_store_active: false
http_accept_language: false
override_locale: false
content_fallback: {
sr: sr
}
pages_fallback_only: false
Is this bad approach or there are some configs that I'm missing?? Thanks!!