-
Not in templates.
NOTE: This comment was originally posted at StackOverflow.com by Cat Plus Plus
-
A snippet from newest version, wp_content/themes/default/single.php: codepad.org/yU2Kaoe6
NOTE: This comment was originally posted at StackOverflow.com by Cat Plus Plus
-
Nothing prevents you from using the l18n functions in theme templates. The theme I coauthored certainly does. tarski.googlecode.com/svn/translations/trunk
NOTE: This comment was originally posted at StackOverflow.com by ceejayoz
-
I know that nothing prevents me. But the default template doesn't have that. And given that it's ugly (IMHO, of course; I'm templating zealot ;)) PHP-with-HTML, then I'd like to be able to use default and have i18n at the same time. I can't, and that's what I was referring to, not to the lack of i18n capabilities in the core.
NOTE: This comment was originally posted at StackOverflow.com by Cat Plus Plus
-
OK, so by "not in templates", you meant "it's not implemented in some specific templates". That's a rather significant difference.
NOTE: This comment was originally posted at StackOverflow.com by ceejayoz
-
I've edited my answer, I hope this is clearer.
NOTE: This comment was originally posted at StackOverflow.com by Cat Plus Plus
-
Much better. Thanks! :-)
NOTE: This comment was originally posted at StackOverflow.com by ceejayoz
$hello = __("Hello, dear user!");
Same thing for date formats - codex.wordpress.org/Function_Reference/date_i18nNOTE: This comment was originally posted at StackOverflow.com by ceejayoz