Raxol.Core.I18n.I18nServer (Raxol v2.0.1)
View SourceGenServer-based internationalization server.
Provides state management for i18n functionality without using the Process dictionary, making it more robust and testable.
Summary
Functions
Add translations for a locale.
Get available locales.
Returns a specification to start this module under a supervisor.
Format currency amount.
Format datetime.
Get the current locale.
Initialize the i18n system with configuration.
Check if current locale is right-to-left.
Set the current locale.
Starts the I18n server.
Translate a key with optional bindings.
Functions
Add translations for a locale.
Get available locales.
Returns a specification to start this module under a supervisor.
See Supervisor.
Format currency amount.
Format datetime.
Get the current locale.
Initialize the i18n system with configuration.
Check if current locale is right-to-left.
Set the current locale.
Starts the I18n server.
Translate a key with optional bindings.