[openstreetmap/openstreetmap-website] Add the i18n-tasks gem (PR #3961)

Andy Allan notifications at github.com
Wed Mar 8 15:39:33 UTC 2023


This can be used for checking our translations, for example to see if there are unused translations in en.yml, and various other tasks.

My aim is to have the `i18n-tasks unused` run as part of CI, but that's not possible yet since there's still some translations (and false-positives) being flagged up for attention. 

Meanwhile, I think it's worth including the gem and the configuration that I've been working on, so that other people can (potentially) contribute to the task.

Refs #3960 
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3961

-- Commit Summary --

  * Add the i18n-tasks gem

-- File Changes --

    M Gemfile (1)
    M Gemfile.lock (15)
    A config/i18n-tasks.yml (160)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3961.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3961.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3961
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3961 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230308/bb55eb9e/attachment.htm>


More information about the rails-dev mailing list