Ruby on Rails locales-find script for fuzzy searching through locales yaml files using full dot notation part
Hacked together a quick ruby script for fuzzy searching for locale keys with their full dot notation part. It loads all yaml files in config/locales, flattenes all the key paths like sv.foo.bar.baz and prints the value and filename after. The result is passed through fzf for fuzzy filtering.
bin/locales-find | fzf --ansi -e
or maybe: docker-compose run --rm web bin/locales-find 2>/dev/null | fzf --ansi -e