News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Admin strings shown on frontend

Started by Meguiars, June 03, 2016, 15:55:57 PM

Previous topic - Next topic

Meguiars

Language strings form admin files are shown on front-end. Any idea why?

jjk

Which language(s) do you have installed?
Please post an Example.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Meguiars

Polish

COM_VIRTUEMART_PRODUCT_AVAILABILITY="Dostępność" Frontend

COM_VIRTUEMART_PRODUCT_AVAILABILITY = "Dostępność produktu" admin

front and should show "Dostępność" but shows "Dostępność produktu"

jjk

Which versions of Joomla and VirtueMart do you use. I can't find the above mentioned language key in the php files.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Meguiars

joomla 3.5.1
VM 3.0.17

file: pl-PL.com_virtuemart.ini

jjk

I'm sorry, but I can't reproduce this behavior. I know COM_VIRTUEMART_PRODUCT_AVAILABILITY = "Dostępność produktu" still is in the administration language file, but I'm unable to find the language key COM_VIRTUEMART_PRODUCT_AVAILABILITY in the php files. So I suppose it is not used anymore. The one I see in my backend in the 'Product Edit' > 'Product Status' tab is COM_VIRTUEMART_AVAILABILITY="Availability" in English or COM_VIRTUEMART_AVAILABILITY="Dostępność" in Polish.

Perhaps you can check the following:
1. Enable 'Debug Language' in Joomla Global configuration and check if it displays any errors at the bottom of the view.
2. If you updated your shop several times already, check if you have an old admin en-GB.com_virtuemart.ini in the folder yourdomain/administrator/language/en-gb. If the file is there, you may delete it. Some time ago it was moved to yourdomain/administrator/components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini.
3. If you are using an editor like the free 'Notepad++' you can use the editor's search features to check if COM_VIRTUEMART_PRODUCT_AVAILABILITY is used in the php files of your installation.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Meguiars

Nothing did helped.  other string are also loaded from admin file like COM_VIRTUEMART_PRODUCT_DESC etc.