VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: JCSL on May 26, 2020, 09:02:54 AM

Title: Virtuemart System Pages not translated
Post by: JCSL on May 26, 2020, 09:02:54 AM
VirtueMart 3.8.2 10325, PHP Version    7.2.29 , Joomla! Version    Joomla! 3.9.0 Stable [ Amani ] 30-October-2018 14:00 GMT

To be able to see the problem go to https://www.mydoamin.com/diaxeirisi-logariasmoy and switch to english language. The page it is not translated. Virtuemart Product Page, categories are translated fine. i.e. You canadd product hand switch between languages with no problem.
--> Joomla Translation En and Gr Multilingual status ( ALL GREEN )
--> Default Joomla Language Greek
--> Virtuemart English and Greek language Packs installed.
--> In Virtuemart --> Configuration --> Language settings ( see attachements)
--> Joomla Language Configurations --> see attachements

Also another strange think .... Thought default Joomla Language is Greek when I go to Virtuemart ( i.e products) the default is English and I have to switch to Greek as second language.
Another think that may help is that if I change the default Joomla Language to English the page https://mydoamin.com/en/miele-account-maintenance show correctly translated in English but when I swith to Greek it does not translate.
Title: Re: Virtuemart System Pages not translated
Post by: JCSL on May 27, 2020, 14:58:23 PM
I found that if I add to the English page /edit?language=en-GB at the end it translates correctly. Very very strange.

https://mydoamin.com/en/miele-account-maintenance shows wrongly in Green instead of English but adding https://mydoamin.com/en/miele-account-maintenance/edit?language=en-GB displays correctly.
Title: Re: Virtuemart System Pages not translated
Post by: pinochico on May 27, 2020, 15:26:27 PM
Make off sef url - now is correct?
Title: Re: Virtuemart System Pages not translated
Post by: JCSL on May 27, 2020, 18:21:50 PM
Turned off SEF but problem is exactly the same. I suppose I can add create redirects to solve my problem but I am wondering if this is a bug of the latest Virtuemart version I use. Before upgrade I did not have this problem.
Title: Re: Virtuemart System Pages not translated
Post by: jjk on May 27, 2020, 18:58:16 PM
For investigating your language switching problem use Joomla's 'Debug Language' and check if you have errors in your language files. It also shows which language files are loaded.

Apart from that I think you have a number of different problems:
I'm using the latest Firefox browser and with this your website is unusable.
Your site seems to load two different fancybox versions. I think I did see the version fancybox 3.3.5. Not sure if that one works with VirtueMart. VM uses an adjusted older version because of fancybox license restrictions.
Your cookie consent plugin causes problems, too.
Title: Re: Virtuemart System Pages not translated
Post by: JCSL on May 27, 2020, 19:24:14 PM
Quote from: jjk on May 27, 2020, 18:58:16 PM
For investigating your language switching problem use Joomla's 'Debug Language' and check if you have errors in your language files. It also shows which language files are loaded.

Apart from that I think you have a number of different problems:
I'm using the latest Firefox browser and with this your website is unusable.
Your site seems to load two different fancybox versions. I think I did see the version fancybox 3.3.5. Not sure if that one works with VirtueMart. VM uses an adjusted older version because of fancybox license restrictions.
Your cookie consent plugin causes problems, too.

Thank you JJK... appreciate your cooments.
1.  I have tried that before and in  https://mydoamin.com/en/miele-account-maintenance I see no errors. I have it enabled so you can also check

2. what do you mean that the website is unusable with firefox. I have been testing it with the specific browser and it displays no issues to me other than the one mentioned. Please explain

3. I will look into the problem of loading two different versions of fancybox.. Thank you for noticing that. do you know which version works best with Virtuemart ?

4. I disabled the GDPR cookie consent plugin and the issue is still there. No chnage. What do you mean when you say the plugin causes problems. Could you please clarify

I much appreciate your comments and help.
Title: Re: Virtuemart System Pages not translated
Post by: jjk on May 27, 2020, 20:26:16 PM
In my Firefox browser I see a gray overlay over the miele-account-maintenance page and a javascript error related to your cookieconsent plugin. See  screenshots attached. Concerning the fancybox version I would suggest to use the one included in VirtueMart. It can be enabled in the VM configuration > Templates tab.
Title: Re: Virtuemart System Pages not translated
Post by: JCSL on May 29, 2020, 14:24:08 PM
I had to begin testing installation from the begining and the problem occured when I installed the plugin and module by Flexible. The strange thing is that after unistalling the relevant plugin and extension the problem persisted and I had to start from the begining again without installing the relevant extension again.

PROBLEM SOLVED  :)( Thank you jjk and pinochico for your comments ).