Language overrides don't work

General questions regarding the use of languages in Joomla! 2.5.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
yumpa
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Mar 15, 2007 2:07 pm

Language overrides don't work

Post by yumpa » Tue Aug 14, 2012 12:14 pm

Hi guys,

I have problem on 2-language site. We have Joomla site with CZ and EN language. Switching works fine, but...

I use language overrides:
language/overrides/cs-CZ.override.ini
with line:

Code: Select all

COM_VIRTUEMART_BUY="Koupit"
language/overrides/en-GB.override.ini
with line:

Code: Select all

COM_VIRTUEMART_BUY="Buy"
At EN version, I see button Buy. At CZ version, I see button Buy. Why?

When I delete line

Code: Select all

COM_VIRTUEMART_BUY="Buy"
from EN override, I see button Koupit. Why is CZ override overridden by EN override?

When I switch default language to CZ, CZ override is shown. But even in EN version...

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language overrides don't work

Post by infograf768 » Tue Aug 14, 2012 2:12 pm

Can you make a test with a language constant from Joomla core?
I mean one from the site login module for example.
(My thought is that it may be related to Virtuemart)
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

yumpa
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Mar 15, 2007 2:07 pm

Re: Language overrides don't work

Post by yumpa » Tue Aug 14, 2012 3:37 pm

I tried it with

JLOGIN="Log in"

and

JLOGIN="Přihlásit se"

At both language versions I see Log in. So it's not VirtueMart problem.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language overrides don't work

Post by infograf768 » Tue Aug 14, 2012 5:56 pm

Which Joomla version are you using? This is totally abnormal.

can you post a link to the site?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

yumpa
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Mar 15, 2007 2:07 pm

Re: Language overrides don't work

Post by yumpa » Thu Aug 16, 2012 8:42 am

It happened to me for second time. One plugin I've made do the same with normal language files. Usually is used by Czech sites, so I just delete EN lang file and Czech langfile starts working. But still...

You can see it here: http://www.easyjoomla.org/, for example at login module button. This is example from previous post.

It is Joomla 2.5.4, it has 2 language versions. Artio JoomSEF and .htaccess helps us to have CZ verision at easyjoomla.cz and EN verision at easyjoomla.org. But still it is one Joomla.

If you would like to look at the code or Joomla administration, I can give you access.

yumpa
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Mar 15, 2007 2:07 pm

Re: Language overrides don't work

Post by yumpa » Thu Aug 16, 2012 1:14 pm

I just figured out that this problem is caused by Artio JoomSEF. If I switch Artion JoomSEF off, language overrides works.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language overrides don't work

Post by infograf768 » Thu Aug 16, 2012 2:17 pm

I was just going to reply that you should disable your 3pd plugins one by one to check.
Glad you figured it out.

I suggest you update to 2.5.6. 2.5.4 is vulnerable.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Language - Joomla! 2.5”