Open Paul-Bob opened 2 weeks ago
The config/i18n-tasks.yml currently contains a static array for supported locales:
config/i18n-tasks.yml
locales: [ar, de, en, es, fr, it, ja, nb, nl, nn, pl, pt-BR, pt, ro, ru, tr, uk, zh]
To ensure this list is dynamically populated, it should be constructed based on the locale files present in the directory lib/generators/avo/templates/locales/*.
lib/generators/avo/templates/locales/*
This issue has been marked as stale because there was no activity for the past 15 days.
Context
The
config/i18n-tasks.yml
currently contains a static array for supported locales:To ensure this list is dynamically populated, it should be constructed based on the locale files present in the directory
lib/generators/avo/templates/locales/*
.