Default language?

4 years 8 months ago #313857 by ericmuc
Default language? was created by ericmuc
I have a multilanguage site and installed some languages.
I realized, that the override.php of in the default-language (English) folder overrides also the other language files.
(my example is: I changed 'YOU_HAVE_COUNT_NEW_PRIVATE_MESSAGE' in the default-language with an override and this changing is also in for example french language, until I put 'YOU_HAVE_COUNT_NEW_PRIVATE_MESSAGE' also in the override file in the fr-fr folder.)

By this I realized, that I may have a configuration problem.

I have the default language installed, which is English. I installed already English (en-gb) beside the default language but don't know how to handle both.

I solved my override problem by transfering the override.php from the directory default-language to the directory en-gb.

But why here is the default language, for which scenario is the default language needed (in comparison to English)? What I needed to do here?

Please Log in to join the conversation.

4 years 7 months ago #313861 by krileon
Replied by krileon on topic Default language?
That's due to the language fallback behavior. It's supposed to ensure language strings won't be missing. This isn't intended for the overrides though. Looks like we've a bug ticket for this already below.

forge.joomlapolis.com/issues/6680

Will review implementing a fix to prevent the overrides from using the fallback behavior.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.136 seconds