-
Notifications
You must be signed in to change notification settings - Fork 530
[Doc Improvement][Update localization.json] #12738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
5b0543c
b4d40fd
4b054a6
505f6ad
c54508d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ The images that you upload with the English language are used in AppSource. | |
|
||
## Localize strings in your app manifest | ||
|
||
Use the Microsoft Teams app schema `v1.5` and later to localize your app. You can do this by setting the `$schema` attribute in your manifest.json file to `https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.schema.json` or higher and updating the `manifestVersion` property to `$schema` version (`1.5` in this case). | ||
Use the Microsoft Teams app schema `v1.21` and later to localize your app. You can do this by setting the `$schema` attribute in your manifest.json file to `https://developer.microsoft.com/json-schemas/teams/v1.21/MicrosoftTeams.schema.json` or higher and updating the `manifestVersion` property to `$schema` version (`1.21` in this case). | ||
|
||
Add the `localizationInfo` property with the default language that your application supports. The default language is used as the final fallback language if the user's client settings don't match with any of your additional languages. | ||
|
||
|
@@ -52,8 +52,8 @@ The following `manifest.json` helps to add the `localizationInfo` property with | |
|
||
```json | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.schema.json", | ||
"manifestVersion": "1.5", | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.21/MicrosoftTeams.schema.json", | ||
"manifestVersion": "1.21", | ||
"localizationInfo": { | ||
"defaultLanguageTag": "en", | ||
"additionalLanguages": [ | ||
|
@@ -67,14 +67,14 @@ The following `manifest.json` helps to add the `localizationInfo` property with | |
} | ||
``` | ||
|
||
### Example localization .json change | ||
### Example localization.json change | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please check the versions of it and update those accordingly. |
||
|
||
Following is an example for localization .json: | ||
Following is an example for localization.json: | ||
|
||
```json | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.Localization.schema.json", | ||
"manifestVersion": "1.5", | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.21/MicrosoftTeams.Localization.schema.json", | ||
"manifestVersion": "1.21", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this localization is working after doing version changes for manifest schema and localization schema? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Chetan it's not working on older as well as latest version and other user have also reported this issue we have raised a bug for that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ChetanSharma-msft - Ajay is yet to confirm. |
||
"name.short": "Localización", | ||
"name.full": "Aplicación de localización", | ||
... | ||
|
@@ -127,13 +127,13 @@ The `manifest.json` change is shown in the following example: | |
} | ||
``` | ||
|
||
### Example localization .json file | ||
### Example localization.json file | ||
|
||
The `localization.json` change is shown in the following example: | ||
|
||
```json | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.8/MicrosoftTeams.Localization.schema.json", | ||
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.21/MicrosoftTeams.Localization.schema.json", | ||
"name.short": "Le App", | ||
"name.full": "App pour Microsoft Teams", | ||
"description.short": "Créez d'excellentes applications pour Microsoft Teams avec App.", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this localization is working after doing version changes for manifest schema and localization schema?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Ajay: This is a platform issue where the localization is not working. An issue/bug is raised for the same.