Skip to content

Translate ClassiBase to your language

Classibase has interface for adding new language and translating user interface to it.

Manage languages in ClassiBase. Add, translate, edit, delete, enable/disable languages.

Other places to add translation

In addition to translating user interface there are other user defined places in classibase website to add translation.

Add new language

New language can be added and managed in "Settings" → "Language" page. Click "+" button for adding new language.

Adding new language to ClassiBase. Define ID, name, flag icon, RTL, enabled, hreflang values for language.

There you can enable/disable, translate, delete and reorder languages.

Edit translation

Language translation page. Add or edit any term in classibase.

  1. Navigate to "Settings" → "Language" page.
  2. Click on "Translate" button next to related language.
  3. New page will open with all translation terms.
  4. Write translation next to related term.
  5. You can filter translation terms by using search form at the top or clicking button that says "Display empty values".
  6. After making changes click "Submit" button at the bottom.

Remember to not make search or navigate to other page before saving changes.  Save changes every time when you edit translation.

Update: There was automatic translation API by Microsoft between 2013-2025. Currently it is not working because free translation API discontinued. As a replacement method you can generate translation with AI, which is described below.

Manually edit translation file

Translation file located in /sys/app/i18n/ folder. You can use it to manually make changes to translation strings.

Before using this file:

  1. Add language from "Settings" → "Language" page.
  2. Inside that language click "Rebuild translation terms" button. This will make sure that all translation string added.
  3. At the bottom of page click "Submit" button to save changes and create/update language file. File will be ID-message.php. Where ID is related language id like "tr" for example.

Translate site interface terms automatically to any language using Gemini AI chat

With latest advancements in AI technology, you can translate Classibase website terms using free AI tools like Google Gemini.

Auto translate Classibase user interface terms to any language using this AI prompt in Google Gemini or other AI tools.

Here are the steps:

  1. Using file editor open file with translation terms /sys/app/i18n/en-message.php . Copy multiple lines. I have tried first 30 lines. There are around 1300 terms in Classibase. Gemini suggested using 100-200 terms in one prompt.
  2. Open Google Gemini. I used version 2.5.
  3. Write following command and paste copied lines. I wanted to translate terms to Turkish language. You should define your desired language.
    Can you fill this format with translation. First value is term second value should be translation. like this: 'term' => 'trnslation'.
    Translate following terms to turkish language please.
    [PASTE COPIED LINES HERE]
  4. AI tools will generate translated terms in the given format. That is exactly what I wanted. You may need to do some manual fixes when needed.
  5. Copy AI generated result and create a new file (or update existing translation file)  with your language "id" like this: /sys/app/i18n/tr-message.php and paste result there. Make sure that you have a valid PHP file with all required formatting without errors. Save changes.
  6. Open "Settings" → "Language" page and click "Translate" button for related language to see that terms are added correctly.

Also check new translation by switching user interface to that language.

This AI translation method should replace discounted automated translation provided by Microsoft API (that was working from 2013 to 2025).

FAQ

What is the code to specify to display other language

Dear Support,

example for testing purpose, in frontend.php I want to display manually customise by adding a word say:

Hello in english

and

Hello in german

what is the code to add to specify such that it’ll display Hello in german when click on german language? I want to manually type the word hello in german into frontend.php, I want to know the condition if, or any code to add manually to frontend.php if I am to do the translation manually just for the word in frontend.php what code should I enter?

— Elite Tan

Answer:

To make any string translatable use it in following function
<?php echo __('Hello in english'); ?>

  • Then clear cache from “Tools” → ”Clear cache”
  • Then click “Rebuild translation terms” from “Settings” → “Language” and clicking “Translate” on language you want to write translation.
  • After translation terms built search for string you want to translate or click to display empty fields. Then write translation to each empty field.

No translation available in admin for the automated email when account is upgraded

No translation available in admin for the automated email when account is upgraded to dealer.

Customer gets this email (even if we use a different language and {sitename} comes up exactly as it looks below:

——————————————————
Subject: Account upgraded
——————————————————
Message: Your account on {sitename} upgraded to dealer account.
——————————————————

— TJ Public

Answer:

Translation of those emails are in regular text translation area. Please follow these instructions:

  1. Go to “Settings” → “Language” on admin panel.
  2. Click on “Translate” for desired language.
  3. Click on “Rebuild translation terms” button.
  4. Type “Account” to search field and search. It will list all terms containing word account.
  5. Find related strings and write translation next to them. Then save changes.

Regarding {sitename} in text you are right it is a bug. We fixed this error in version 1.4.8 . Thank you for reporting.

Cannot create category when added 2nd and 3rd language

hmm Support, when I added 2nd language, whether if is enable or disable for the 2nd language, upon added 2nd language, and I went to create a new category in admin page it keeps saying Name Field is required, suspect this is a bug appreciate you can check and let us know if any resolution?

— Elite Tan

Answer:

You have to provide translation for each language regardless it is enabled or not. So "Name" field for category is required field and should be provided for all defined locales (languages).

Cannot open file – when click on rebuild translation terms

dear Support, I’ve added zh-CHS language, permission to i18n has been set to 777
and when click on rebuild translation terms it said “Cannot open file”, what’s the reason behind? any clue?

— Elite Tan

Answer:

It sounds like file permission problem. Give 0755 or 0777 permission to /sys/app/i18n/ folder and all files inside it.

How to set second language as the default language?

I want my second language version to point to the root of my site and the English version to be pointed to /en/ folder.
How can I do that?

— Goiran Sputnik

Answer:

  1. Navigate to “Settings” → “Language” page from admin panel
  2. Click “Edit” button for language you want to set as default
  3. Select “Default” checkbox and save

After completing these steps you will see (Default language) next to that language. Default language will be as root and other languages will be /en/ or /tr/ after domain.

Transliteration in URL for Russian to Latin?

I want to use this script for ads in russian language, but important to have proper URLs – transliterated from cyrillic to latin:
site.com/продам-дом must be site.com/prodam-dom

Do script has this option?
Thanks for reply

— Dmitro

Answer:

Yes URLs are transliterated to Latin letters. You can check naydizdes.com website, it is using unmodified classibase script in Russian language.

--

What is next:

Leave a Reply

Your email address will not be published. Required fields are marked *