Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
| Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
|---|---|---|---|---|---|
|
JavaScript and PHP translation
Commencé par : İrfan Kaya
dans : 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 | Il y a 3 semaines et 4 jours | |
|
About PHP and JS Translation
Commencé par : İrfan Kaya dans : Chat Support |
|
0 | 2 | Il y a 1 mois et 1 semaine |