Tag: i18n
How to translate for one or more items: Pluralism made easy
It is quite easy to pluralise .yml translated strings in SilverStripe 4 these days. Lets take a simple example where I want to pluralise some search results.
Read more about 'How to translate for one or more items: Pluralism made easy'...
Read more about 'How to translate for one or more items: Pluralism made easy'...
Translatable Controller URLs
You can easily translate CMS content with translatable or fluent, but what if you have an url that is just grabbed by a controller?
Read more about 'Translatable Controller URLs'...
Read more about 'Translatable Controller URLs'...
Fluent and Partial Caching
Fluent is a great SilverStripe module for translating sites, that need the same tree for all locales. Unfortunately there are some pitfalls with partial caching.
Read more about 'Fluent and Partial Caching'...
Read more about 'Fluent and Partial Caching'...
Dates Formatted Based on Locale
$MyDate.Format(...) doesn't format based on locale, but $MyDate.FormatI18N(...) does :)
Read more about 'Dates Formatted Based on Locale'...
Read more about 'Dates Formatted Based on Locale'...