News:

Support the VirtueMart project and become a member

Main Menu

Language file not loading in J2.5

Started by Chris Patrick, January 24, 2014, 10:30:18 AM

Previous topic - Next topic

Chris Patrick

Hi

Joomla! 2.5.16
VM 2.0.26d
PHP 5.3 +

Apologies if this has been covered, but after searching for this issue, I can't find a solution, so here goes:

I have had quite a nightmare upgrading from VM1 to VM2 back in March 20013, and then on to VM2.0.26d just today.
I'm seeing the language file en-GB.com_virtuemart_shoppers.ini in the J2.5 language/en-GB folder, but my Address form is showing all the default values like this:
COM_VIRTUEMART_REGISTER_EMAIL *    
COM_VIRTUEMART_SHOPPER_FORM_COMPANY_NAME    
COM_VIRTUEMART_SHOPPER_FORM_TITLE    
COM_VIRTUEMART_SHOPPER_FORM_FIRST_NAME *    
COM_VIRTUEMART_SHOPPER_FORM_MIDDLE_NAME    
COM_VIRTUEMART_SHOPPER_FORM_LAST_NAME *    
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_1 *    
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_2    
COM_VIRTUEMART_SHOPPER_FORM_ZIP *    
COM_VIRTUEMART_SHOPPER_FORM_CITY *    
COM_VIRTUEMART_SHOPPER_FORM_COUNTRY *

I've search the Language Overrides of Joomla and it doesn't find these default values, so I'm a bit stuck as to how to display the correct values.
Here's what the language file shows:
COM_VIRTUEMART_REGISTER_EMAIL="E-Mail"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_1="Address 1"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_2="Address 2"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_INFO_LBL="Information"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_LABEL="Address Nickname"
COM_VIRTUEMART_SHOPPER_FORM_BIRTHDAY="Date of birth"
COM_VIRTUEMART_SHOPPER_FORM_CITY="City"
COM_VIRTUEMART_SHOPPER_FORM_COMPANY_NAME="Company Name"
COM_VIRTUEMART_SHOPPER_FORM_COUNTRY="Country"
COM_VIRTUEMART_SHOPPER_FORM_EMAIL="Email"
COM_VIRTUEMART_SHOPPER_FORM_EU_VATID="VAT Number(European Union Countries only)"
COM_VIRTUEMART_SHOPPER_FORM_FAX="Fax"
COM_VIRTUEMART_SHOPPER_FORM_FIRST_NAME="First Name"
COM_VIRTUEMART_SHOPPER_FORM_GROUP="Shopper Group"

Any help much appreciated.

Chris

EDIT/UPDATE:
I've tried installing the latest language files...No luck there.
It seems that some of the labels in the back-end VM Component are showing the Label not the text value.
I've turned on Language Debug and it shows the following:
**Untranslated Strings**
# JROOT/administrator/components/com_virtuemart/tables/countries.php
COM_VIRTUEMART_COUNTRY_2_CODE="VIRTUEMART COUNTRY 2 CODE"
COM_VIRTUEMART_COUNTRY_3_CODE="VIRTUEMART COUNTRY 3 CODE"
COM_VIRTUEMART_COUNTRY_NAME="VIRTUEMART COUNTRY NAME"
# JROOT/administrator/components/com_virtuemart/tables/userfields.php
COM_VIRTUEMART_NAME="VIRTUEMART NAME"
COM_VIRTUEMART_TITLE="VIRTUEMART TITLE"
COM_VIRTUEMART_VIRTUEMART_USERFIELD_ID="VIRTUEMART VIRTUEMART USERFIELD ID"
# JROOT/components/com_virtuemart/helpers/cart.php
COM_VIRTUEMART_REGISTER_EMAIL="VIRTUEMART REGISTER EMAIL"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_1="VIRTUEMART SHOPPER FORM ADDRESS 1"
COM_VIRTUEMART_SHOPPER_FORM_ADDRESS_2="VIRTUEMART SHOPPER FORM ADDRESS 2"
COM_VIRTUEMART_SHOPPER_FORM_CITY="VIRTUEMART SHOPPER FORM CITY"
COM_VIRTUEMART_SHOPPER_FORM_COMPANY_NAME="VIRTUEMART SHOPPER FORM COMPANY NAME"
COM_VIRTUEMART_SHOPPER_FORM_COUNTRY="VIRTUEMART SHOPPER FORM COUNTRY"
COM_VIRTUEMART_SHOPPER_FORM_FAX="VIRTUEMART SHOPPER FORM FAX"
COM_VIRTUEMART_SHOPPER_FORM_FIRST_NAME="VIRTUEMART SHOPPER FORM FIRST NAME"
COM_VIRTUEMART_SHOPPER_FORM_LAST_NAME="VIRTUEMART SHOPPER FORM LAST NAME"
COM_VIRTUEMART_SHOPPER_FORM_MIDDLE_NAME="VIRTUEMART SHOPPER FORM MIDDLE NAME"
COM_VIRTUEMART_SHOPPER_FORM_PASSWORD_1="VIRTUEMART SHOPPER FORM PASSWORD 1"
COM_VIRTUEMART_SHOPPER_FORM_PASSWORD_2="VIRTUEMART SHOPPER FORM PASSWORD 2"
COM_VIRTUEMART_SHOPPER_FORM_PHONE="VIRTUEMART SHOPPER FORM PHONE"
COM_VIRTUEMART_SHOPPER_FORM_PHONE2="VIRTUEMART SHOPPER FORM PHONE2"
COM_VIRTUEMART_SHOPPER_FORM_STATE="VIRTUEMART SHOPPER FORM STATE"
COM_VIRTUEMART_SHOPPER_FORM_TITLE="VIRTUEMART SHOPPER FORM TITLE"
COM_VIRTUEMART_SHOPPER_FORM_ZIP="VIRTUEMART SHOPPER FORM ZIP"
MR="Mr"
MRS="Mrs"
=" "
# JROOT/administrator/components/com_virtuemart/tables/shoppergroups.php
COM_VIRTUEMART_SHOPPER_GROUP_NAME="VIRTUEMART SHOPPER GROUP NAME"
# JROOT/administrator/components/com_virtuemart/tables/vmusers.php
COM_VIRTUEMART_VIRTUEMART_USER_ID="VIRTUEMART VIRTUEMART USER ID"
# JROOT/administrator/components/com_virtuemart/helpers/vmtable.php
COM_VIRTUEMART__PKEY="VIRTUEMART  PKEY"