Wordpress sprintf的翻译
Poedit识别并翻译了这一部分,我保存了它,但它没有主题翻译。我怎样才能正确地做呢Wordpress sprintf的翻译,wordpress,poedit,Wordpress,Poedit,Poedit识别并翻译了这一部分,我保存了它,但它没有主题翻译。我怎样才能正确地做呢 'description' =>sprintf(__("Thank you for being part of this! We've spent almost 6 months building ThemeIsle without really knowing if anyone will ever use a theme or not, so we're very grateful that y
'description' =>sprintf(__("Thank you for being part of this! We've spent almost 6 months building ThemeIsle without really knowing if anyone will ever use a theme or not, so we're very grateful that you've decided to work with us. Wanna <a href=http://themeisle.com/contact/' target='_blank'>say hi</a>?
<br/><br/><a href='http://themeisle.com/demo/?theme' target='_blank' />View Theme Demo</a> | <a href='http://themeisle.com/forums/forum/' target='_blank'>Get theme support</a><br/><br/><a href='http://themeisle.com/documentation' target='_blank'>Documentation</a>"), 'theme'),
'priority' => 30,
'description'=>sprintf(u u;(“感谢您参与其中!我们花了近6个月的时间构建ThemeIsle,但并不知道是否有人会使用主题,所以我们非常感谢您决定与我们合作。想要吗?”?
“主题”,
“优先级”=>30,
告诉我,这段缺少任何上下文的代码是在您之前执行的(静态?)变量初始化的一部分
PHP的gettext实现不支持时光倒流。您必须在调用
\uuu()
或朋友之前加载域。是的,这是代码的一部分,我对此有问题。我翻译了所有代码,并在function.php上使用了“加载主题textdomain”。除了这一部分,一切都很好。谢谢Salvik先生。