fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -142,6 +142,8 @@ This was inspired by [server-only-context](https://github.com/manvalls/server-on
|
||||
|
||||
The id and the message need to be the same in all the dictionaries.
|
||||
|
||||
This prepares for a future codemod that will transform the ids into default messages.
|
||||
|
||||
❌ Do not do this:
|
||||
|
||||
```typescript
|
||||
@@ -172,7 +174,7 @@ This was inspired by [server-only-context](https://github.com/manvalls/server-on
|
||||
|
||||
- **Add translations to all local JSON dictionaries.**
|
||||
|
||||
Even if the message is untranslated when adding it. Even if the id is used as a fallback when a translation is mising, the fallback does not get interpolated.
|
||||
Even if the message is untranslated when adding it. Even if the id is used as a fallback when a translation is missing, the fallback does not get interpolated.
|
||||
|
||||
❌ Do not do this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user