$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>theme development - How to make menus, footer, sidebars multi language|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

theme development - How to make menus, footer, sidebars multi language

matteradmin8PV0评论

I am totally new to WordPress. I recently encountered this problem. I want to make my site 3 languages. I searched a lot and understand how to change the posts and pages languages with plugin, but the trouble is that when I choose other language, my whole theme (footer, menus, sidebar) are in basic language.

How I can solve this?

In some sites I saw a suggestion of Poedit; but the phrases in it I guess is irrelevant to what I have in footer and theme stuff.

So should I make different sites? Please help me.

By the way my theme name is Di Business.

I am totally new to WordPress. I recently encountered this problem. I want to make my site 3 languages. I searched a lot and understand how to change the posts and pages languages with plugin, but the trouble is that when I choose other language, my whole theme (footer, menus, sidebar) are in basic language.

How I can solve this?

In some sites I saw a suggestion of Poedit; but the phrases in it I guess is irrelevant to what I have in footer and theme stuff.

So should I make different sites? Please help me.

By the way my theme name is Di Business.

Share Improve this question edited Dec 17, 2018 at 13:37 butlerblog 5,1413 gold badges28 silver badges44 bronze badges asked Dec 17, 2018 at 12:48 sepidehsepideh 1
Add a comment  | 

1 Answer 1

Reset to default 0

Most decent themes are already set up for translation and if so, poedit will certainly let you translate all the theme elements. If you don't want to get your hands dirty using poedit, there's a nice plugin called Loco Translate which allows you to do it much more simply. Contact your theme developers and ask them if the theme is prepared for localization first.

Post a comment

comment list (0)

  1. No comments so far