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
United States Of America flag United Kingdom flagEnglishen
France flagFrenchfr
Brazil flag Portugal flagPortuguesept
Spain flagSpanishes
Japan flagJapaneseja
China flagChinesezh
Russia flagRussianru
Turkey flagTurkishtr
Germany flagGermande
Sweden flagSwedishsv
Netherlands flagDutchnl
Italy flagItalianit
Finland flagFinnishfi
Romania flagRomanianro
Czech Republic flagCzechcs
Poland flagPolishpl
South Korea flagKoreanko
Vietnam flagVietnamesevi
Israel flagHebrewhe
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