该用户没有最喜欢的主题。
最喜欢的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 声音 | 文章 | 新鲜度 |
---|---|---|---|---|---|
I want you to auto-translate the external files header and footer
发起人: 津留崎 真直
中: English Support
Problem: Solution: For the footer, if it's widget-based, follow steps for translating widgets: https://wpml.org/documentation/getting-started-guide/translating-widgets/. If it's directly added to the theme, wrap text in PHP code with the gettext method, scan the theme for strings, and translate them using WPML String Translation. To apply CSS to the translation switcher on index.php, wrap all direct text in PHP code with functions like __() and then scan the theme for strings. Translate them using WPML String Translation, and the CSS should apply automatically. Relevant Documentation: Menu Translation: https://wpml.org/documentation/getting-started-guide/translating-menus/ |
|
2 | 4 | 1 years, 3 months前 |