Skip to content

Internationalization

Internationalization in the Topol Plugin is simple and highly customizable. Here's how you can set a specific language when embedding the Topol editor into your application.

Define the Language

When initializing the Topol Plugin, add the language code in the TOPOL_OPTIONS configuration object.

ts
const TOPOL_OPTIONS = {
  id: "#app",
  authorize: {
    apiKey: "YOUR_API_KEY",
    userId: "YOUR_USER_ID",
  },
  language: "fr", // Example: French
};

Languages use ISO 639-1 standard.

List of All Currently Supported Languages:

CountryLanguageCode
Englishen
Frenchfr
Portuguesept
Spanishes
Japaneseja
Chinesezh
Russianru
Turkishtr
Germande
Swedishsv
Dutchnl
Italianit
Finnishfi
Romanianro
Czechcs
Polishpl
Koreanko
Vietnamesevi
Hebrewhe
Arabicar

Feel free to contact us if you need to add another language or find an incorrect translation.


Flags made by Freepik from www.flaticon.com