Better localization of blog_entry
Permalink Browser Info Environment
Hi!
Just a note about a minor issue about the localization.
In blog_entry.php we have this code:
This has two problems: the "on" is not localized, the date is not localized and it does not reflects the current user timezone.
Here's the fix for this:
Bonus track: attached to this message you can find the Italian localization of Salix (the archive contain the compiled and the source files of the localizations: in the downloadable archive you should have only the .mo file /languages/it_IT/LC_MESSAGES/messages.mo)
Just a note about a minor issue about the localization.
In blog_entry.php we have this code:
This has two problems: the "on" is not localized, the date is not localized and it does not reflects the current user timezone.
Here's the fix for this:
<?php echo t( 'Posted by %1$s on %2$s', $c->getVersionObject()->getVersionAuthorUserName(), '<i class="fa fa-calendar"></i> '.\Core::make('date')->formatDate($c->getCollectionDatePublic(), true) ); ?>
Bonus track: attached to this message you can find the Italian localization of Salix (the archive contain the compiled and the source files of the localizations: in the downloadable archive you should have only the .mo file /languages/it_IT/LC_MESSAGES/messages.mo)
Type: | Discussion |
---|---|
Status: | Resolved |
Thank you for bringing that issue to our attention. We appreciate feedback and are always looking for ways to improve our themes. You are right about the text "on" not being internationalised and we will modify that in a future update.
Thanks,
Jennifer