Skip to content

Commit

Permalink
fix: obvious bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Mar 5, 2024
1 parent 785d277 commit eb6e2d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platform/formats/structured_json.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_label: Structured JSON
Structured JSON format is a generic format enabling you to export translations to JSON files with array support.
In this format, we preserve the [ICU message format](/platform/translation_process/icu_message_format).

In general, we recommend against using structured results because it can lead to unexpected behavior, as explained below.
In general, we recommend against using structured JSON because it can lead to unexpected behavior, as explained below.

Example of structured JSON:

Expand Down
3 changes: 1 addition & 2 deletions platform/projects_and_organizations/import.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ You can choose to override the key descriptions when importing translations. Thi
<ScreenshotWrapper src="/img/docs/platform/import/override_key_descriptions.webp" alt="Override key descriptions" />

## Importing plurals
When importing translations with plural forms, the plural is automatically detected and imported. If existing key is not
a plural yet. The base language value and the language translations converted to plural as well.
When importing translations with plural forms, the plural is automatically detected and imported, if the existing key is not a plural yet. The base language value and the language translations are converted to plural as well.
2 changes: 1 addition & 1 deletion platform/translation_process/icu_placeholders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ Because of this, it always requires closed escape sequences in the plural forms;
representation. Because of this, it automatically closes the escape sequence in the plural forms.

For example, when you store `# dogs here '{ that was a curly brace` as plural, it will be saved as
`# dogs here '`. it will be saved as `# dogs here ''`.
`# dogs here '{ that was a curly brace'`.

However, this change won't affect the way how these messages will be rendered, so you don't have to worry about it.

0 comments on commit eb6e2d0

Please sign in to comment.