As default, there is only one language in a repository. The language of your repository is based on the application language, which is English or Swedish. If your application language is English, your standard language in a repository created in 2c8 Modeling Tool is English. However, you can choose to work with translations of your content, which means your models, objects, documents, and more can exist in multiple languages. This means that the end users can switch between languages in the published material.
|There is no automatic translation in 2c8 Apps. You have to translate your content manually.|
Add more languages to your repository
If your want to add a new language to your repository, do the following:
- Go to "Tools" - "Languages" - "Edit languages...".
- A dialogue will appear with the languages in your repository. If you want to add a new language, click on the "plus sign".
- Name your new language and choose a suitable flag icon. Namnge ditt nya språk och välj en lämplig ikon. You can check "Use hyphenation" if you've downloaded the hyphenation library. This will hyphenate word in an appropriate way. Then choose the language you want to copy the new language from, in other words, use as a translation material for your new language.
- Click "OK" to save your new language.
- You can now choose which language you want as default language. The default language is the language that you consider the correct translation, or the original language. In this example, we have created our material in English and we consider it correct, and therefore we choose English as our default language. We will talk more about this further down in this article.
A new language has now been created in your repository. You can switch between the languages in the bottom right corner of the software when a model is open.
Translate content in a repository
Once your new language is created, you can start translating your content. You can switch between the languages in the bottom right cornet of an open model. In this example, we will show how to translate a model from English to Spanish.
Lets start by switching to English in the bottom right corner.
We can then see globes appear in the corner of all of our objects in the model. These globes indicate that the objects are not yet translated to Spanish. Since we chose English as our default language, the software considers English a correct version, and it's not until we make changes in the Spanish language that the software considers the objects correctly translated. The globe will then disappear.
|Note that the software cannot verify that the translations in fact are correct, but rather know that changes have been made between two languages and therefore consider it translated.|
If you cannot see a globe next to your objects once you've switched language, you might need to activate "Translation status" under the "gear"-symbol in the toolbar.
To translate our objects, we edit them. We can translate the title and descriptions of the objects. Once the changes are made, the globe on the object will disappear to indicate our object being translated in the language we are currently working in.
|It's important to keep track of what language you are currently working in, since changes only affects the language you are currently working in. If you, for example, change the content or meaning of the description in the Spanish language, you should change it in the English language also.|
When the model is translated to Spanish, we can see that all the globes on the objects has disappeared, indicating that the model is translated in Spanish.