This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Date (Year, Month, Day): | |
| %Y - Year with century (can be negative, 4 digits at least) | |
| -0001, 0000, 1995, 2009, 14292, etc. | |
| %C - year / 100 (round down. 20 in 2009) | |
| %y - year % 100 (00..99) | |
| %m - Month of the year, zero-padded (01..12) | |
| %_m blank-padded ( 1..12) | |
| %-m no-padded (1..12) | |
| %B - The full month name (``January'') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change config.i18n.default_locale = :nl in application.rb | |
| nl: | |
| activerecord: | |
| attributes: | |
| <model_name>: | |
| <attribute_name>: '<attribute_translation>' | |
| models: | |
| <model_name>: '<model_translation>' | |
| errors: | |
| models: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add I18n.locale = :nl to application.rb | |
| nl: | |
| devise: | |
| failure: | |
| already_authenticated: 'Je bent al ingelogd.' | |
| unauthenticated: 'Je dient in te loggen of je in te schrijven.' | |
| unconfirmed: 'Je dient eerst je account te bevestigen.' | |
| locked: 'Je account is vergrendeld.' |