Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
danish.ts
english.ts
french.ts
german.ts
indonesian.ts
italian.ts
korean.ts
norwegian.ts
persian.ts
polish.ts
portuguese.ts
readme.md
simplified-chinese.ts
spanish.ts
traditional-chinese.ts

readme.md

To add a new localization:

  • Fork the repo
  • Create a new file in "localization" folder, name it as [language name].ts, for example: french.ts
  • Copy the content from english.ts file and uncomment first and last lines
  • Translate strings
  • Import this file into webpack by adding it into "entries/index.ts" file, import "../localization/[yourfilename]";, for example import "../localization/french";
  • Rebuild the library, based on instruction in the readme.md file in the root and / or
  • Optionally make a pull request to share your translation with the community and to include into official library release. We will rebuild the library and you will get your localization with the next minor update

To update the existing localization:

  • Fork the repo
  • Find the required localization file [language name].ts, for example: french.ts
  • Translate the missing strings that exists in english.ts file, but not in your [language name].ts file
  • Rebuild the library, based on instruction in the readme.md file in the root and / or
  • Optionally make a pull request to share your translation with the community and to include into official library release. We will rebuild the library and you will get your localization with the next minor update
You can’t perform that action at this time.