I wrote a pearl to solve "what's new for translating the problem"
https://github.com/zoodles/vocab
After installing the gem, you run the following command:
vocab init
This will save the link to the current git main SHA to a file named .vocab
After adding lines to the site, you run:
vocab extract rails
This will create a yml file containing all the English keys and strings that were added after the commit provided by the SHA in .vocab. You can send this file to translators for translation.
When translations come back from translators, you can run the command:
vocab merge rails
This will translate the values โโto all valid yml files in config / locales.
source share