VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: usermee on September 17, 2013, 05:25:57 AM

Title: Language Overrides not working?
Post by: usermee on September 17, 2013, 05:25:57 AM
Is it just me or are the Language Overrides not working anymore?
I have added the overrides to the backend, however no changes occur on the site, it still seems to default to the en-GB.com_virtuemart.ini language definitions.

Joomla! 2.5.14
VM 2.0.22b
Title: Re: Language Overrides not working?
Post by: Maxim Pishnyak on September 17, 2013, 11:10:52 AM
In the Dev Portal (check top of that page) 22d version is available.
Title: Re: Language Overrides not working?
Post by: usermee on September 17, 2013, 16:43:45 PM
Thanks, I have updated, but the issue still remains.
Title: Re: Language Overrides not working?
Post by: Maxim Pishnyak on September 18, 2013, 09:49:08 AM
Quote from: usermee on September 17, 2013, 05:25:57 AM
I have added the overrides to the backend, however no changes occur on the site, it still seems to default to the en-GB.com_virtuemart.ini language definitions.
Be more specific then.
Title: Re: Language Overrides not working?
Post by: Engholm on September 18, 2013, 10:20:05 AM
just feedback: Language backend overrides work fine for me in Joomla! 2.5.14 VM 2.0.22c / VM 2.0.22d
Title: Re: Language Overrides not working?
Post by: usermee on September 18, 2013, 13:25:24 PM
In the backend I have added the override (image1), in the frontend it is not used (image2). If I directly edit the en-GB.com_virtuemart.ini file and make the change, it then works correctly in the frontend.

[attachment cleanup by admin]
Title: Re: Language Overrides not working?
Post by: Maxim Pishnyak on September 18, 2013, 21:00:32 PM
You could pm me access.
Title: Re: Language Overrides not working?
Post by: Maxim Pishnyak on September 20, 2013, 13:57:56 PM
I could make an override for 'Sales price'. Can't test override for email - I'm just admin only, not superadmin.
Title: Re: Language Overrides not working?
Post by: usermee on September 20, 2013, 23:58:47 PM
The strange thing is that I have made other overrides which work, for some reason just that one override created does not want to take unless I edit the core .ini file...weird!?
I have made it super admin if you would like to take another look. Thanks for the help.
Title: Re: Language Overrides not working?
Post by: Maxim Pishnyak on September 27, 2013, 12:05:44 PM
That's right. Weird. So it's time to write correct Language Value into php file.
Title: Re: Language Overrides not working?
Post by: shanDB on December 03, 2013, 02:14:30 AM
I can confirm that the overrides don't work with VM 2.0.24.C when searching by the value.

However, it has worked when searching by the constant.

Title: Re: Language Overrides not working?
Post by: Milbo on December 03, 2013, 10:32:49 AM
Maybe you are looking in the BE language but you must look in FE language or viceversa.

In general we tried to put the languages shown to users into the frontend. But the plugins keep their language in the Backend.