
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
This is a small utility to assist in handling your I18n YAML files in a Ruby on Rails project.
$ gem install rails_locale_sorter
To create a patch, just provide input and output directories, and a "source of truth" locale that will be the template for the other languages.
$ locale_patch path/to/locales path/to/output en.yml
The output directory will now contain a list of YAML files containing missing translations.
Once the strings have been translated, they can be applied back into your project:
$ locale_apply path/to/translated_patches path/to/locales
The patching process also sorts the file's content alphabetically.
These commands default to "locales/", "new-locales/", and "en.yml". Meaning that all you need to do to run through the entire process is:
$ cd my_rails_app/config
$ locale_patch
$ locale_apply
Or use the handy, descriptive aliases:
$ cd my_rails_app/config
$ poop
$ scoop
FAQs
Unknown package
We found that rails_locale_sorter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.