VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Studio 42 on April 27, 2016, 15:51:44 PM

Title: Existing Language Key are in english for foreign language !
Post by: Studio 42 on April 27, 2016, 15:51:44 PM
HI,
I don't understand why all this language mix in Vrtuemart.
If i don't delete the admin language files, many keys are translated in english and not French.
All key exist and are valid in French and it work perfectly on removing all English Virtuemart .ini files!
VM 3.0.14 Joomla 3.5.0, default langue French in Back and front-end.
Title: Re: Existing Language Key are in english for foreign language !
Post by: Ghost on April 27, 2016, 16:35:50 PM
Check French language files for errors. Single missing " can break the whole file.
Title: Re: Existing Language Key are in english for foreign language !
Post by: Studio 42 on April 27, 2016, 17:09:23 PM
Quote from: Studio 42 on April 27, 2016, 15:51:44 PM
All key exist and are valid in French and it work perfectly on removing all English Virtuemart .ini files!
Title: Re: Existing Language Key are in english for foreign language !
Post by: Ghost on April 27, 2016, 18:00:16 PM
Does it work when you disable "Use english as fallback for untranslated strings"? I had same issue with some 3.x version, but recent releases fixed it for me. I also had some similar issues caused with older 3rd party VM plugins (e.g. OPC).
Title: Re: Existing Language Key are in english for foreign language !
Post by: Studio 42 on April 27, 2016, 18:32:39 PM
No plugin used in all, only one for customfields and standard payment and shipment, but this not load VM language files.
I think, it's a core problem,i have tested on another default Jommla+vm install and Have same troubles.
Title: Re: Existing Language Key are in english for foreign language !
Post by: jjk on April 29, 2016, 12:21:32 PM
Might have been a typo (copy and paste error) with my language file update revision 9208.
http://forum.virtuemart.net/index.php?topic=134062.msg465466#msg465466
Title: Re: Existing Language Key are in english for foreign language !
Post by: Studio 42 on April 29, 2016, 21:25:31 PM
jjk,
I don't think the problem come from here.
The languages ini files are all valid and removing the english solve it, in other case i had the key replacing the translations if the ini is bad.
The language default is french, but english are active too but not used, as if the english get loaded after and overide default in some case but this should be inverted, so french should overide english.
I used the language file from pack and tested with alatak(valerie) french pack too with same problem.
The problem is perhaps only in vmText, i don't checked to use standard Joomla Jtext if it work correctly, but for now the problem is solved for my customer, i don't have time for now to investigate more, but perhaps some other user have this problem and don't understand why they have some english but key exist and is valid.