News:

Looking for documentation? Take a look on our wiki

Main Menu

Default frontend language does not follow Joomla settings.[solved]

Started by Donald, December 03, 2014, 07:47:17 AM

Previous topic - Next topic

Donald

I have set a non-English language as the default in Joomla, and enabled language switcher and such. Everything works great, except that it always default to english when visiting for the first time, or after clearing all cookies.
Is this a known issue?
Is there a way to debug why this happens? Are there any other variables involved?

jjk

1. Did you install the VirtueMart language pack for your second language using the Joomla extension manager?
2. Did you add your second language into the VirtueMart configuration > Language setup?
3. Do you have 'Use English as a fallback for untranslated strings' enabled in VirtueMart configuration > Language setup?
4. Enable Joomla 'Debug System' and 'Debug Language' in the Joomla configuration settings and then check, if your second language frontend xx-XX.com_virtuemart.ini is loaded.
Certain typos in language files can prevent them from loading correctly.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Donald

Yes, the virtuemart.ini was loaded for the non-english language. The language switcher works fine, both languages are shown everywhere when manually switching. It's just that it's always default english. Boggles.

GJC Web Design

what is your setting for the joomla System - Language Filter plugin?  Browser or site language?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Donald

Aha!

It was browser based, now it's site option based. Thank you very much for your help. Especially since I realize this was a pure Joomla config issue that had little to nothing to do with VM :)  Sorry and thank you :)