i18n.cr alternatives and similar shards
Based on the "Misc" category.
Alternatively, view i18n.cr alternatives based on common mentions on social networks and blogs.
-
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
burocracia.cr
๐ Zero-dependency Crystal shard to validate, generate and format Brazilian burocracias (CPF, CNPJ, CEP) -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
defined
This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of i18n.cr or a related project?
README
I18n
Internationalization module for Crystal.
Supporters
Thanks to all my patrons, I can continue working on beautiful Open Source Software! ๐
Lauri Jutila, Alexander Maslov, Dainel Vera
You can become a patron too in exchange of prioritized support and other perks
Installation
Add this to your application's shard.yml
:
dependencies:
i18n:
github: vladfaust/i18n.cr
version: ~> 0.1.1
This shard follows Semantic Versioning 2.0.0, so see releases and change the version
accordingly.
Usage
# es.yml
es:
apples:
one: 1 manzana
other: "%{count} manzanas"
require "i18n"
require "i18n/backends/yaml"
I18n.backend = I18n::Backends::YAML.new.tap do |backend|
backend.load_paths << Dir.current + "/locales"
backend.load
end
I18n.default_locale # => "en"
I18n.locale = "es"
I18n.t("apples", count: 3) # => "3 manzanas"
You can implement your own I18n::Backend
, as well as your own quantity keys rules ("one"
, "many"
etc.). Read more in docs.
Development
Tests included! Run crystal spec
while developing.
There is currently no code for localization currencies, date and time etc. If you need it, please open an issue and/or a pull request.
Contributing
- Fork it ( https://github.com/vladfaust/i18n.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- @vladfaust Vlad Faust - creator, maintainer