This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML Update is Incomplete
Started by: scottM-30 in: English Support |
|
2 | 2 | 7 months, 3 weeks ago | |
String Translation
Started by: scottM-30
in: 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 ago | |
English Translation not working for few plugins
Started by: scottM-30 in: English Support |
|
2 | 4 | 3 years, 4 months ago |