1. Home
  2. Docs
  3. XYZ Classifieds
  4. FAQ
  5. Can I use my language in the XYZ Classifieds script?

Can I use my language in the XYZ Classifieds script?

Yes, you can use your language in the XYZ Classifieds script.

At present it is using English as default language.

You can change the language by simply editing the messages of 2 files in your language.

You can edit all text messages and labels in the ‘labels.php‘ and ‘messages.php‘ files in ‘locale/en_US’ folder.

Consider if you want to change the language to French (français),  open the files labels.php and messages.php and change the labels and messages in English to French (français).

For example, if you want to change the label “Code Preview” to French (français), change the code as follows.

$label[‘code_preview’]=’Code Preview’;   to

$label[‘code_preview’]=’code Extrait’;

In the same way you can change the message

$message[‘mandatory’]=’Please fill in mandatory fields.’;  to

$message[‘mandatory’]=’S’il vous plaît remplir les champsobligatoires.’;

in French (français).

Was this article helpful to you? Yes 1 No 1