Classibase has interface for adding new language and translating user interface to it.
Other places to add translation
In addition to translating user interface there are other user defined places in classibase website to add translation.
- Site title and description
- Categories and locations
- Widgets
- Custom fields
- Email templates
- Pages
Add new language
New language can be added and managed in "Settings" → "Language" page. Click "+" button for adding new language.
There you can enable/disable, translate, delete and reorder languages.
Edit translation
- Navigate to "Settings" → "Language" page.
- Click on "Translate" button next to related language.
- New page will open with all translation terms.
- Write translation next to related term.
- You can filter translation terms by using search form at the top or clicking button that says "Display empty values".
- 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:
- Add language from "Settings" → "Language" page.
- Inside that language click "Rebuild translation terms" button. This will make sure that all translation string added.
- 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.
Here are the steps:
- 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. - Open Google Gemini. I used version 2.5.
- 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]
- 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.
- 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. - 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:
- Go to “Settings” → “Language” on admin panel.
- Click on “Translate” for desired language.
- Click on “Rebuild translation terms” button.
- Type “Account” to search field and search. It will list all terms containing word account.
- 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:
- Navigate to “Settings” → “Language” page from admin panel
- Click “Edit” button for language you want to set as default
- 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-domDo 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: