ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
| สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
|---|---|---|---|---|---|
|
JavaScript and PHP translation
เริ่มโดย: İrfan Kaya
ใน: English Support
Problem: For PHP files: __() or _e() with your theme or plugin text domain. For example: echo __( 'Your text here', 'theme-textdomain' ); For JavaScript files: wp_localize_script() or wp_set_script_translations() . For example: wp_localize_script( 'my-script', 'myStrings', [ 'welcome' => __( 'Welcome message', 'theme-textdomain' ) ]); After registering, you can find these strings in WPML → String Translation, where you can provide translations for each language. If you need further assistance or if this solution does not apply to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket. |
|
0 | 5 | 3 weeks, 4 days มาแล้ว |