Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
WPML Update is Incomplete
Bắt đầu bởi: scottM-30 tRONG: English Support |
|
2 | 2 | 7 months, 4 weeks trước | |
String Translation
Bắt đầu bởi: scottM-30
tRONG: English Support
Problem: So I need to translate the words Close and Cancel. This is necessary because WordPress currently only offers a localization API in PHP, not directly in JavaScript. In the 'Example' section of the link above, you can check that it'll create a JavaScript code having an object "object_name" with some values, among these values the "some_string". This code must be within PHP (usually, the recommended file is the functions.php of your theme). To access the JavaScript object, you will only use values that have already been defined within your PHP file. That is, they are two pieces of code that are going to be defined in two different places. One is PHP (functions.php of your theme), so you can define the translatable string. The second part will be the JavaScript object inside the JavaScript file that you want to use it. Relevant Documentation: |
|
3 | 6 | 3 years, 4 months trước | |
English Translation not working for few plugins
Bắt đầu bởi: scottM-30 tRONG: English Support |
|
2 | 4 | 3 years, 4 months trước |