You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: apps/condo/README.md
+27-1
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,30 @@ Condo development guide
5
5
*[Project structure](./docs/project-structure.md)
6
6
*[Migrations guide](./docs/migrations.md)
7
7
*[Utils](./docs/utils)
8
-
*[Checklists](./docs/checklists)
8
+
*[Checklists](./docs/checklists)
9
+
10
+
## Customization guide for open source developers
11
+
12
+
### Adding translations
13
+
14
+
Sometimes, in your custom forks you need to add or override translations, for this you should write custom translations in `lang/<locale>/<locale>.custom.json`
15
+
16
+
These translations then can be used just as regular translations in condo
Translations inside the custom translations file **will overwrite** other translations.
33
+
34
+
Best practice is to start your custom translation with prefix `custom`, that way it is guaranteed that these translations will not collide with translations in condo
thrownewError(`Keys starting with one of reserved prefixes: [${RESERVED_PREFIXES.join(', ')}] found. Please check your translation files and fix those keys`)
0 commit comments