To edit a existing language in Projectal, follow these steps:
Getting the language file to make changes
The first step when wanting to edit an existing language in Projectal is to get its language file from your Projectal.
- Go to the Management screen by clicking Management on the left sidebar.
- Click the Languages button to display the Languages screen.
- Select the language you wish to modify and click the Download File button on the Languages screen toolbar.
- This will download a file called language.json onto your computer. This text file contains all the strings for that language.
- There are several ways to make changes to the language file:
- Manual editing the file using a text editor on your computer
- Auto translating using a internet-based translation service
- Manual editing the file using a text editor on your computer
Manually translating the language file
You can edit the JSON file on your computer using a text editor. When you open the JSON file, you will see many lines that look like this
"location_new": "New Location",
The format of the lines is as follows:
"<idenifier>": "<text to be translated>",
In the above example, the text you can change is "New Location".
Important: Do not change any identifier text, colons, commas or keywords. You should only change the text to be translated. If you do make indavertent changes to other text, then the language file may not be able to be loaded by Projectal and you will only see the default English text.
Auto translating using a internet-based translation service
You can also use internet based services that auto-translate JSON files. Some services are free to use and others are paid.
Example: of a free service:
- Go to https://translate.i18next.com
- Upload your JSON file.
- Specify the source language of your JSPN file (it will be typically "en").
- Specify the target language that you want. For example, select "es" for Spanish.
- Click the Translate (>) button to start the translation. It may take several minutes to complete the translation.
- Once competed, click Download to download the file.
- You can edit the downloaded JSON file with a text editor on your computer to check the quality of the translations and make any changes to the final JSON file.
Uploading the updated JSON language file into Projectal
After you have completed your changes to the JSON language file on your computer, then you can add this file into your Projectal.
- Go to the Management screen by clicking Management on the left sidebar.
- Click the Files button to display the Files screen.
- Navigate to the folder containing all your language files (or create a new folder to contain all your languages files).
- Select the existing JSON language file you wish to update and click the File Details button on the Files screen toolbar.
- This will display the File Details screen. Click in the File section to choose your uplodaed JSON language file from your computer. Click OK to upload the updated language file. You have now updated your JSON language file.
Editing your language in Projectal
- Go to the Management screen by clicking Management on the left sidebar.
- Click the Languages button to display the Languages screen.
- Select the language you wish to update and click the Edit button on the Languages screen toolbar.
- This will display the Edit Language screen.
Name
Enter the name of the language.
Description
Enter an optional description of the language.
Language Locale
Select the language locale for the language. This should match the language code that your new language represents. For example, for Spanish, you may want to choose "Spanish [es]". Or if you wish to be more specific, you may want to choose "Spanish (Mexico) [MX]". Projectal uses this information to auto select the language when a user has this same language set in their web browser on their computer.
Language File
Click the Add File button to select the language file that has been previously uploaded into Projectal.
Make Default Language
Select this checkbox if you want all users to have this language auto selected for them when they log into Projectal the first time. This is useful if you have a company language file that contains company terminology that you wish to use rather than the default terminology used in Projectal.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article