Add comprehensive i18n support following Rails conventions #4

Merged
heming merged 1 commit from feature/i18n into main 2025-06-13 23:13:05 +02:00
Owner
  • Add full Rails I18n integration with locale files
  • Include built-in translations for English, French, German, and Spanish
  • Add config.locale option to set error page language
  • Support dynamic locale switching with callables
  • Create i18n generator for custom locale files
  • Add rake tasks for i18n management (list, generate, check, export)
  • Update Configuration to use I18n.t() instead of hardcoded text
  • Update preview controller to display localized content
  • Add locale switcher to preview interface
  • Configure i18n in dummy app with custom translations
  • Add comprehensive tests for i18n functionality
  • Update documentation with i18n usage examples

This implementation follows Rails conventions perfectly, making it intuitive
for Rails developers to use their existing i18n knowledge without learning
anything new.

- Add full Rails I18n integration with locale files - Include built-in translations for English, French, German, and Spanish - Add config.locale option to set error page language - Support dynamic locale switching with callables - Create i18n generator for custom locale files - Add rake tasks for i18n management (list, generate, check, export) - Update Configuration to use I18n.t() instead of hardcoded text - Update preview controller to display localized content - Add locale switcher to preview interface - Configure i18n in dummy app with custom translations - Add comprehensive tests for i18n functionality - Update documentation with i18n usage examples This implementation follows Rails conventions perfectly, making it intuitive for Rails developers to use their existing i18n knowledge without learning anything new.
Add comprehensive i18n support following Rails conventions
All checks were successful
CI / Test on Ruby 3.4 (push) Successful in 42s
CI / Lint (push) Successful in 38s
CI / Build gem (push) Successful in 34s
CI / Test on Ruby 3.4 (pull_request) Successful in 47s
CI / Lint (pull_request) Successful in 37s
CI / Build gem (pull_request) Successful in 36s
26aaca9324
- Add full Rails I18n integration with locale files
- Include built-in translations for English, French, German, and Spanish
- Add config.locale option to set error page language
- Support dynamic locale switching with callables
- Create i18n generator for custom locale files
- Add rake tasks for i18n management (list, generate, check, export)
- Update Configuration to use I18n.t() instead of hardcoded text
- Update preview controller to display localized content
- Add locale switcher to preview interface
- Configure i18n in dummy app with custom translations
- Add comprehensive tests for i18n functionality
- Update documentation with i18n usage examples

This implementation follows Rails conventions perfectly, making it intuitive
for Rails developers to use their existing i18n knowledge without learning
anything new.
Contributor

bueno

bueno
heming merged commit da3feeb54f into main 2025-06-13 23:13:05 +02:00
heming deleted branch feature/i18n 2025-06-13 23:13:05 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: heming/rsep#4
No description provided.