File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ # config/i18n-tasks.yml
2+ # i18n-tasks configuration for Better Together Community Engine
3+
4+ base_locale : en
5+ locales :
6+ - en
7+ - es
8+ - fr
9+ - uk
10+
11+ # Paths to scan for translations in the engine
12+ search :
13+ paths :
14+ - app/
15+
16+ # Read/write locale files from config/locales
17+ data :
18+ read :
19+ - config/locales/%{locale}.yml
20+ write :
21+ - config/locales/%{locale}.yml
22+
23+ # Exclude test and unnecessary paths
24+ exclude :
25+ - ' test/**'
26+ - ' spec/**'
27+ - ' tmp/**'
28+ - ' log/**'
29+ - ' node_modules/**'
30+
31+ # Ignore keys (both missing and unused checks)
32+ # Keys that are provided by external gems like i18n-timezones
33+ ignore_missing :
34+ - ' {timezones,timezones.*}' # Provided by i18n-timezones gem for non-English locales
35+
36+ ignore_unused :
37+ - ' {timezones,timezones.*}' # Provided by i18n-timezones gem, used in timezone selects
38+
39+ # Alternative: use eq_base to ignore keys that are the same as base locale
40+ # This tells i18n-tasks that these keys are intentionally the same in all locales
41+ ignore_eq_base :
42+ es :
43+ - ' {timezones,timezones.*}'
44+ fr :
45+ - ' {timezones,timezones.*}'
46+ uk :
47+ - ' {timezones,timezones.*}'
Original file line number Diff line number Diff line change 44 - en
55 - es
66 - fr
7+ - uk
8+
79# Paths to scan for translations
810search :
911 # Paths in the dummy app
@@ -23,3 +25,21 @@ exclude:
2325 - ' spec/**'
2426 - ' tmp/**'
2527 - ' log/**'
28+
29+ # Ignore keys (both missing and unused checks)
30+ # Keys that are provided by external gems like i18n-timezones
31+ ignore_missing :
32+ - ' {timezones,timezones.*}'
33+
34+ ignore_unused :
35+ - ' {timezones,timezones.*}'
36+
37+ # Alternative: use eq_base to ignore keys that are the same as base locale
38+ # This tells i18n-tasks that these keys are intentionally the same in all locales
39+ ignore_eq_base :
40+ es :
41+ - ' {timezones,timezones.*}'
42+ fr :
43+ - ' {timezones,timezones.*}'
44+ uk :
45+ - ' {timezones,timezones.*}'
You can’t perform that action at this time.
0 commit comments