CE4.9.7 Adress Form - Word Switch

I have managed to modify the code to change the boxes around allowing for a different information recording format, that is to record:

[B]Street#[/B] 1st and [B]Street[/B] 2nd as well as
[B]City[/B] 1st and [B]Post Code[/B] 2nd

But I do not know how to change the words “Street#” and “Street” around so there is a logical sequence. This is the same for “City” and “Post Code”

These formats are common place in Australia/New Zealand

Many thanks

find in your lang.php

‘POSTAL_CODE_AND_CITY’ => ‘Postal code, city’,

copy it to your cust_lang.ph and edit the value.

same for

‘STREET_AND_STREETNO’ => ‘Street, street#’,

MiesterYoda,

You indicated that I should seek out and change code in:

find in your lang.php

I have square eyes trying to locate the correct lang.php file but I followed Marco’s tip and couldn’t find it there so I looked in every file ending ‘lang.php’ and could find it there either.

I have made many changes in my public_html/application/views/azure/en/cust_lang.php file:

‘VAT’ => ‘GST’,
‘POSTAL_CODE_AND_CITY’ => ‘City, Post Code’,
‘GENERAL_STREETNUM’ => ‘Street No., Street’,
‘GENERAL_ZIPCITY’ => ‘City, Post Code’,
‘USER_LIST_ZIP’ => ‘Post Code’,
‘USER_MAIN_STRNR’ => ‘Street No., Street’,
‘OXISCONFIGURABLE’ => ‘Product is customisable’,
‘STREET_AND_STREETNO’ => ‘Street No., Street’,
‘GENERAL_AJAX_SORT_OXZIP’ => ‘Post Code’,
‘GENERAL_AJAX_SORT_OXSTREETNR’ => ‘Street No.’,
‘EMAIL_PRICEALARM_CUSTOMER_HY’ => ‘Hello,’,
‘GENERAL_ARTICLE_OXVPE’ => ‘Packing Unit’,
‘GENERAL_ARTICLE_OXBUNDLEID’ => ‘Bundle Ident. No.’,
‘ARTICLE_STOCK_VPE’ => ‘Packing Unit’

Yet most importantly, the file I need to change that changes the words on the main address page (image) has not been located .

Help please.

STOP PRESS!

I have fixed the word issue but now have a new issue…

Parse error: syntax error, unexpected ‘SHOP_MAIN_PRODUCTIVE’ (T_STRING), expecting ‘)’ in /home/wheelie/public_html/application/views/admin/en/lang.php on line 1148

This came after I tried to run a check delivery status program. Now the message also appears if I try to enter Admin CMS area.

‘From the frypan to the FIRE’

You have an error in your language file. Fix it and everything will work as
expected

Gesendet von meinem ALIGATOR S5500Duo mit Tapatalk

Well I am now lost.

I don’t know what to do to fix the problem as everything looks fine.at line 1148.
Can you give me more clues to solve the puzzle?

we’re all lost :slight_smile:

line 1148 should look like this

‘SHOP_MAIN_TAXNUMBER’ => ‘Tax ID’,

maybe you forgot the “,” at the end and OXID is awaiting a “)” as the end of the array?

copy your line 1148 and post it.

Thanks MrYoda for getting me out of the pooh once again.

At first I spent 1/2 hour looking for keywords: ‘SHOP_MAIN_TAXNUMBER’ but after awhile I worked out that you really meant ‘SHOP_MAIN_[B]VAT[/B]NUMBER’

Then I tried to work out why you were referencing line 1148 when ‘SHOP_MAIN_VATNUMBER’ was on 1147

Line 1148 is the line were the error reported.

Then I thought if there was something happening that was unexpected (because I don’t understand what the error message means) perhaps it was because of what is happening on the line before it or 1147.

Then I reread your last post for the 213th time and saw that you suggested that maybe I forgot the “,” at the end of the line and sure enough, once I added that comma all my problems vanished.

I spent so much time looking for the big things and I spent too little for the little things. A lesson for a Newbies --> Read the answers to help messages thoroughly and literally.