Osclass Themes and Osclass Plugins

How to Translate Locations in Osclass

How to translate locations into native language formats and validate output for multilingual classifieds usability. Feature is available from Osclass 4.1 or higher.
Case Studies & Real Implementations
6. April 2026
2 min read
14666 views
How to Translate Locations in Osclass

Quick overview

How to translate locations into native language formats and validate output for multilingual classifieds usability.

What this article covers

  • Location translations into native language
  • Translate location
  • Enable native name selected languages/locales
  • Preview translated locations

Practical notes

  • Validate changes in staging before production updates.
  • Track user impact with analytics, logs, and search performance signals.

Location translations into native language

Latest major release of Osclass brings ability to translate language into native form. This may be especially beneficial in case you use different alphabet on site (english/russian, english/arabic, english/japan, ...).

Translate location

Go to Oc-admin > Settings > Locations:

Osclass locations setting

Click on country, region or city to open edit pop-up window. Here you can define native name for location:

Classifieds script osclass - translate location

Once you've entered native name, click on submit button (Edit city / Edit region / Edit country) to save your changes.

Your location now has it's native name in native language.

Enable native name selected languages/locales

You've already translated locations to have native name. By default this is not shown and must be enabled for particular languages. As above example shows, we are translating locations into Russian native naming, it does not make sense to show it in native form for visitors having english language selected, it make sense to show it only to visitors having Russian language active.

Go to Oc-admin > Settings > Languages

Classifieds script osclass - change language

Click on edit button for language you want to enable native location names:

Classifieds script osclass - manage languages

Check "Native location names" and press Save button:

Classifieds script osclass - language native location name

Preview translated locations

Now go to your site (front). In English, location names will not be changed. In Russian, it will show native name.

English:

Classifieds script osclass - location in english

Now switch your language to Russian and refresh page.

Russian:

Classifieds script osclass - location in russian

We've translated city "Aleyskiy Rayon" into "Алейский район".

Note that locations without native name will show original name, so you may translate just several cities/locations and rest keep empty to use their original name.

Specific theme functions might need update to properly show native name, if it exits.

Please take a look on integration guide:
Location translation integration guide

About the Author

My passion is building classifieds marketplaces, automating workflows, and turning messy data into useful products. From PHP, HTML, CSS, and JavaScript to Python, crawlers, imports, and SEO, I enjoy solving technical challenges and sharing lessons learned from real-world projects. Most ideas start with a problem, a cup of coffee, and a curiosity to see how far automation can go.
Osclass, PHP, JavaScript, CSS, Python
47 posts Publishing since 04/2018

Shopping cart
Support tickets Downloads Reviews Orders & Invoices Payments
Dashboard My profile Change password Download user data
Logout