이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
Issue with WPML String Translation – Some Custom Strings Not Translating
시작한 사람: bradleyC-3
안에: English Support
Problem: icl_register_string function and adding translations in the WPML String Translation section. gettext function is not correctly implemented; it lacks a text-domain. You should modify your code to include the text-domain, like this: __('How It Works', 'my-theme-domain'); Additionally, instead of using icl_register_string , we recommend using the wpml_register_single_string action and then retrieve the string translation with wpml_translate_single_string . For detailed guidance on using gettext, visit How to Use Gettext, and for more on registering strings, see WPML register single string. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. We also 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. For further assistance, you can contact us directly through our support forum. |
|
0 | 2 | 4 월, 1 주 전에 |