ผู้ใช้รายนี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรั่มที่ชื่นชอบ
สร้างหัวข้อฟอรัมแล้ว
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | กระทู้ | ความสดชื่น |
---|---|---|---|---|---|
Where are translation hints?
เริ่มโดย: mikeD-5
ใน: English Support
Problem: printf(esc_html(// translators: %s is a year __( 'Active since %s', 'cnmd' ),), esc_html( $year )); Solution: We further explained that the comment /* translators: %s: %s is a year */ is intended to provide context to translators who are translating the theme or plugin into different languages. It helps in understanding what the string represents, especially when creating .po language files that accompany the theme or plugin. However, PHP comments, whether single-line (//) or multi-line (/* */), are ignored by the PHP interpreter during script execution. They are meant only for documentation and do not appear on the website or affect the program's execution. For more details on PHP comments, you can visit https://www.w3schools.com/php/php_comments.asp. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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. Should you need further assistance, please open a new support ticket with us. |
|
2 | 4 | 7 months, 1 weeks มาแล้ว | |
Translations are disappearing/getting reset
1
2
เริ่มโดย: mikeD-5
ใน: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
3 | 32 | 7 months, 2 weeks มาแล้ว | |
Scanning for strings in a mu-plugin
1
2
เริ่มโดย: mikeD-5 ใน: English Support |
|
8 | 19 | 11 months, 3 weeks มาแล้ว | |
How do I consolidate textdomains within a theme
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 6 | 1 years, 9 months มาแล้ว | |
"Synchronise translations" cannot be disabled
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 7 | 3 years มาแล้ว | |
Admin shows posts in all languages
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 5 | 3 years, 3 months มาแล้ว | |
WPML String Translation + WP 5.7 = Warning in admin and front end with debugging
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 2 | 3 years, 11 months มาแล้ว | |
WPML + simple auth = "REST API is disabled, blocking some features of WPML"
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 2 | 4 years มาแล้ว | |
Enabling Translation of a Custom Taxonomy
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 5 |
4 years, 2 months มาแล้ว
mikeD-5 |
|
Finding the original ID for a term
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 4 | 4 years, 2 months มาแล้ว | |
Don’t translate links
เริ่มโดย: mikeD-5
ใน: English Support
Problem: How to add a link to pages in a different language. Solution: You need to add the following example code in the functions.php file of your site's theme. add_filter( 'wpml_sl_blacklist_requests', 'wpml_sl_blacklist_requests', 10, 2 ); function wpml_sl_blacklist_requests( $blacklist, $sitepress ) { $blacklist[] = 'documentation'; return $blacklist; } In this example, 'documentation' represents the slug of the page you link to and don't want to take the user to the translation of this page. Please read more about this function in our documentation here. Note: 1. You do not need to activate the Sticky Links add-on. 2. For existing pages and posts with links in their content, you might need to make a small change on the page and press the Update button. And then also update the translation. |
|
2 | 10 | 4 years, 3 months มาแล้ว | |
Gravity Forms v1.5.2 breaks conditional logic
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 2 | 4 years, 4 months มาแล้ว | |
Translating options saved as JSON
เริ่มโดย: mikeD-5 ใน: English Support |
|
2 | 5 | 4 years, 10 months มาแล้ว | |
Filter the languages in the selector menu
เริ่มโดย: mikeD-5 ใน: English Support |
|
3 | 11 | 4 years, 10 months มาแล้ว |