avo-hq / avo

Build Ruby on Rails apps 10x faster
https://avohq.io
Other
1.54k stars 258 forks source link

Improve i18n-tasks to detect locales #3403

Open Paul-Bob opened 2 weeks ago

Paul-Bob commented 2 weeks ago

Context

The config/i18n-tasks.yml currently contains a static array for supported locales:

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/*.

github-actions[bot] commented 9 hours ago

This issue has been marked as stale because there was no activity for the past 15 days.