Breadcrumbs

Home / Help / FAQ / Tutorials / DJ-Classifieds FAQ / How to translate custom fields values

Top Menu

Content

How to translate custom fields values
How to translate custom fields values 4.1 out of 5 based on 9 votes.

2016-06-07

If you want to translate custom fields values in DJ-Classifieds follow this few simple steps. We will make an example translation to show how the process looks like.

Go to DJ-Classifieds and open "Options".

translate fields1

Go to the "Custom fields values to labels" option and set it as "Yes".

translate fields2

Now open the "Fields" in DJ-Classifieds control panel.

translate fields3

Open the field where you want to translate the values. We've created the custom "Color" field.

translate fields4

We've defined five color values for this field.

translate fields5

They are also visible at the frontpage. 

translate fields6

Now you can translate them using Language Overrides. More information you can find here.

Let's make an example translation for COM_DJCLASSIFIEDS_YELLOW color.

Go to Extensions -> Languages.

translate fields7Open the "Overrides".

translate fields8

Click "New" and create a new override.

Set the language constant of the string you want to override and then enter the text you want to display instead of the original one. Click "Save & Close".

translate fields9

 The result is visible at the list of overrides:

translate fields10

 And on the frontpage:

translate fields11

Values are also visible at the search box (We've have translated all values already)

translate fields12

And at the ad details ("red" color was added for this ad):

translate fields13

 We've used the english language for our translation, but there are more languages available. Each language need to be installed first.

Installed language you can choose from Filter option.

translate fields14

When creating a new override, you will see that chosen language is automatically added to the "Language" option. 

translate fields15

Result is visible here:

color


Found this article interesting? Subscribe for more.
Or share this article with your friends.
Monday, 06 June 2016 16:13
 
User Rating:  (9)
PoorBest
 

Footer Menu