How to implement date output i18n?
-
For an international site using ALM plugin with WPML it is necessary to know where to translate an internationlised date string.
For the regular US notation we can use (as per your example):
the_time("F d, Y")
However, European languages and Eastasian languages have a different notation, so I can internationalise the publish date, so that it becomes:
the_time( esc_html__( 'F d, Y', 'textdomain' ) )
.But this does not show up in the WPML String Translation.
Most likely the plugin needs to be extended with a WPML Configuration file. Are there any plans in that direction or do you simply leave this implementation up to your users?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to implement date output i18n?’ is closed to new replies.