VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Hungphieu on August 11, 2016, 12:48:19 PM

Title: How to translate the Virtuemart menu in the backen?
Post by: Hungphieu on August 11, 2016, 12:48:19 PM
Hi there,
I want to translate the virtuemart menu in the backen (picture), so how?
Thanks pro!

(http://www.upsieutoc.com/images/2016/08/11/Untitlede3ef5.png)
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: GJC Web Design on August 11, 2016, 14:06:01 PM
I think not easily  -- the menu texts are taken directly from the #__menu table
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: Jumbo! on August 11, 2016, 16:58:28 PM
You can change them by overriding/translating the Admin system language strings.

See - administrator/components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.sys.ini

COM_VIRTUEMART_MENU_CATEGORIES="Product Categories"
COM_VIRTUEMART_MENU_CONFIGURATION="Configuration"
COM_VIRTUEMART_MENU_MANUFACTURERS="Manufacturers"
COM_VIRTUEMART_MENU_MEDIAFILES="Media Files"
COM_VIRTUEMART_MENU_ORDERS="Orders"
COM_VIRTUEMART_MENU_PAYMENTMETHODS="Payment Methods"
COM_VIRTUEMART_MENU_PRODUCTS="Products"
COM_VIRTUEMART_MENU_REPORT="Revenue Report"
COM_VIRTUEMART_MENU_SHIPMENTMETHODS="Shipment Methods"
COM_VIRTUEMART_MENU_STORE="Shop"
COM_VIRTUEMART_MENU_USERS="Shoppers"
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: GJC Web Design on August 11, 2016, 17:35:06 PM
But this will also translate the strings in the component..  if this is what u want...
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: Hungphieu on August 11, 2016, 18:24:02 PM
Thanks @GJC Web Design and @Jumbo! !
I changed them with files administrator/components/com_virtuemart/language/en-GB/....
But unable to.
I don't know how to do?
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: GJC Web Design on August 11, 2016, 18:30:10 PM
the correct way is via the Joomla->extensions->language->over rides

if nothing changes switch on the joomla languge debugging to see which files are loading etc
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: jjk on August 12, 2016, 21:13:49 PM
How about simply changing the default language in Joomla administration > 'Language(s)' > 'Installed' > 'Language drop down selection > 'Administrator'?
Title: Re: How to translate the Virtuemart menu in the backen?
Post by: Hungphieu on September 02, 2016, 03:03:45 AM
I did it.
Thank you everyone!