开发者

Translating a WordPress theme

I am trying to translate The Buffet Framework with the help of Codestyling Localizazion. But somehow the theme simply doesn't use my translation.

Is there something I forgot to consider? Any experience with tha开发者_JAVA技巧t?

Thanks in advance.


In your wordpress directory, find wp-config.php then edit

define ('WPLANG', '');

to your language, example below:

define ('WPLANG', 'id_ID');


Does your theme have the line …

load_theme_textdomain(domain-name);

… in its functions.php? domain-name should match your text domain.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜