Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
| Stato |
Argomento
|
Supporter | Voci | Post | Freschezza |
|---|---|---|---|---|---|
|
JavaScript and PHP translation
Iniziato da: İrfan Kaya
in: 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 settimana, 5 giorno fa | |
|
About PHP and JS Translation
Iniziato da: İrfan Kaya in: Chat Support |
|
0 | 2 | 1 mese, 1 settimana fa |