This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
I want you to auto-translate the external files header and footer
Started by: 津留崎 真直
in: 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 year, 3 months ago |