Adding/Updating new language translations using Weblate

Modified on Mon, 31 Jul 2023 at 03:04 PM

**If you do not have access to Weblate, please reach out to your local representatives, and they will assist you.**


Introduction 

Weblate is a powerful tool that allows you to manage language translations efficiently. This guide will walk you through the steps to add or update new language translations using Weblate for your project.


1. Login to Weblate

To get started, follow these steps:

a. Access Weblate via the provided Dashboard URL:  Weblate 
b. Click on the "Sign In" menu located in the top right corner.

Login form


c. You'll be redirected to the login form. Use the provided user account to log in. (Contact Operations or Product team for your account details)
d. After successful login, you will land on the Dashboard page, where you can begin managing translations.


Dashboard page

2. Selecting the Project

To choose your project, select the desired project or browse through all available projects associated with your account under the project menu.



Choose the latest project or browse all Projects. 

3. Pull Updates Before Changing

Before making any translations, it's crucial to pull updates to avoid conflicts with other ongoing translations. Follow these steps:

a. Select your desired language and go to the language page.
b. Navigate to the repository maintenance page by clicking on the "Manage" menu and choose "Repository Maintenance."


c. Click the "Update" button on the repository maintenance page.


4. Choosing a Relevant Component 
A project may have one or multiple components. Ensure you select the appropriate component before proceeding.


5. Translating the Language

Now, let's start translating
a. Choose the language you want to translate (Note: You can only translate the language associated with your account; others will be read-only).

https://weblate.tabsquare.com/projects/smartweb/english/ 


b. Click on the "Translate" link for the corresponding string you want to translate.

https://weblate.tabsquare.com/projects/smartweb/english/sv/ 

https://weblate.tabsquare.com/translate/smartweb/english/sv/?q=state:%3Ctranslated 

c. You will be redirected to the translation page where you can enter your translation.

Language translation page

d. Compare the text in English with your translation or a blank text if it hasn't been translated yet.


e. To translate the text, simply choose the text you need to translate and fill in the translation accordingly. 


Translating a string

f. Use the buttons provided to Save and Continue, Save and Stay, Suggest, Skip, or review your translations.

Save and continue

Save the translations and continue to the next text

Save and stay

Save the translations and stay with the current 

Suggest

Your text would appear as a suggestion


And can be reviewed by the other translator or yourself 

Skip

Skip to translate text and go to the next text



g. You can repeat the process to find and translate another string. Or you can go back to the language page and choose another language to translate

  1. 6. Completing the Translation Process

    After completing the translations, you must commit and push the changes to the Repository to ensure that the apps get updated with the translated strings. Follow these steps:

a. Select your desired language and go to the language page.
b. Navigate to the repository maintenance page by clicking on the "Manage" menu and choose "Repository Maintenance."

https://weblate.tabsquare.com/projects/smartweb/english/#repository 

c. On the Repository Management page, follow the below steps:

i. Commit the changes by clicking the "Commit" button.


ii. Push the changes to the repository by clicking the "Push" button.


7. Deployments
Once you have completed the process, the changes need to be deployed during every release. Reach out to your local representative who will liaIse with our developers to deploy the changes above. 




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article