Skip to content

How to add support for a new language or improve existing translations

Jon McLaren edited this page Dec 27, 2018 · 1 revision

The extension is written in a simple format so that adding support for multiple languages is relatively easy, and doesn't really require any programming/coding skills, just your human language skills. Your help will help tons of people get access to a new tool to enable them to build better HubSpot sites more efficiently.

List of currently supported languages, Don't see a language you know? we'd love your help to add it!

There is a folder where all of the language information is stored: /_locales/

For each language we need to add a folder with the internationalized language code for the folder name as it's name: https://www.science.co.il/language/Codes.php

Then we clone the English Messages file to our new language folder /_locales/en/messages.json

Screenshot of messages file

Change all of the relevant text strings to the language or dialect we're trying to add support for. You only need to change the "message" variable, not the description, the description is just for our reference to make it easy to identify.

Once you've updated those text strings submit a pull request or put up an issue with your version of the file and we'll help get it merged in. Done! huzzah! You've helped us add or update a translation! Thank you so much for helping translate the extension!