Comment on page
You can build your app in such a way that it can be adapted to different languages.
Here's what you need to do:
- Create a folder named
i18nat the root and create
.jsonfiles with the abbreviation of each language you want your app to support. For example,
pt.json. You can call the same file to translate the content across several app interactions.
- In the JSON files, provide the corresponding text in the chosen language against each key. This text is displayed on the UI.
- Define the keys that you want to create translations for. You can add these keys for functions such as slash commands, UIKit elements, or app settings.
The following points illustrate some examples to show how you can use app internationalization for your apps:
submit.sendis a key to send a message to the channel with values as shown below:
"submit.send": "Send Message to Channel"
"submit.send": "Enviar Mensagem para o Canal"
Last modified 5d ago