You need to put your strings in translatable format.
<a href="https://wordpress.stackexchange.com/questions/90208/URL"><?php _e( 'Link', 'your-theme-text-domain'); ?></a>
Function reference: _e()
, this one echo
es the value, for assignment, use $my_string = __( 'String', 'text-domain' );
.
Also, check the following documentation: WordPress_in_Your_Language#Introduction and WPML – Getting String Translation to Work.
Related Posts:
- WPML : how to determine manually the language in which a given page is displayed
- wp_pagenavi function parameters [closed]
- WPML – Change the language of large number of posts
- Cannot use object of type WP_Error as array
- Change ICL_LANGUAGE_CODE for WPML
- WPML – Pages not synced?
- WPML returning posts that are not published
- WPML: WP_Query + suppress_filters not working
- Translate front page (WPML) [closed]
- WPML translate without duplicating post [closed]
- WPML – Filter by individual or all languages
- WPML custom post type – not translated
- wpml and languages with different directions
- Redirect user based on his language and country using WPML [closed]
- How to Automatically jump to the corresponding language of the page using WPML plugin in wordpress
- Translate Woocommerce automated emails
- Translation of one of the languages is not displayed on the site
- Latest WPML updates broke my wordpress post categories and menus [closed]
- WPML Translate term meta not synced
- WordPress Popular Posts with WPML
- How to configure the request language WP_Query wpml
- Open Source replacement for WPML? [closed]
- WPML with WP_Query serving up all 3 languages [closed]
- [Plugin WPML] : How to create a translation of a post using the WPML API?
- WPML: getting page title in different language
- Gettext details
- Rewrite url for custom post type
- Checking current language in a function
- WPML Get url without outputting
- Comments waiting but no comments found
- Remove WPML’s home_url filter
- Need to give custom page template for each language in WPML
- WordPress multilingual site using page-id.php files
- WPML Translated Term
- WPML in custom page templates
- Error 404 using wpml plugin
- Theme localization in WPML – .mo file error [closed]
- WPML tables not deleted when removing multisite subsite, need help clearing up my sql-file! [closed]
- WPML custom string translation get outside of container
- WPML – Set language of inserted post
- Mysql SELECT posts
- WPML Default Language User Meta [closed]
- category filter doesn’t work in WPML
- WPML & CFT: keeping custom field file to translation
- A simple method for disabling WPML language switcher when meeting specific circumstances [closed]
- How to force change Network site multi language subdirectory base URL?
- How to save post with different languages and linked them with WPML?
- Redirect some of the languages on a multi-language site
- use wpml_post_language_details function other plugin based on $post->ID [closed]
- Page and Post return 404 with custom taxonomy
- WPML Permalink missing language slug
- WPML – 404 Error when I try to pass GET parameters in my “different languages in directories” installation
- WPML customizing language selector [closed]
- How do I translate string inside jQuery script with WPML?
- English version of my site show french strings [closed]
- Using Variable in WordPress Translate Functions
- Why template_include filter does not work with WPML plugin?
- WPML best page selector with php
- Where are comment ratings stored?
- How to translate text in function.php with WPML [closed]
- How to migrate Custom Field Template to a WordPress Multisite
- After disabling WPML multi currency, the currency is still handled by the WPML
- Changing the header image using WPML
- WPML language tags (Qtranslate feature) [closed]
- WPML icl_register_string() throws fatal error but works [closed]
- Get all content on a “single page” site depending on language
- Internationalize plugin so strings can be translated in WPML [closed]
- Translate custom template with WPML
- How to create posts or pages with the names in wordpress?
- WPML taxonomies not translated
- How to automatically translate plugin using translate.wordpress.org
- Keep source page URL parameters on custom link menu item
- Page not visible in ‘All pages’ after being added through PHP
- Custom Enfold theme tab layout not compatible with WPML
- An inactive plugin causes an HTTP 404 issue on a translated post – WPML
- Woocommerce product query not working in other WPML languages
- append currency to URL
- WPML – Stop language redirection in initial load
- Translate string inside twig template
- $.ajax results in 403 forbidden
- I have defined 2 text strings, how do I use them in my posts?
- WPML – Hook when language is switched (change user language)
- How do I split a single WPML site with 6 languages (English is Main) into Multisite with 5 subfolders
- add .html to custom post type with WPML
- Creating multilingual glossary for WP
- Is there a way to move WPML scripts in footer?
- WPML – Change media uploader language
- Reuse links in a post across different languages
- Fetch data from another site, but the same database
- same comment list for two posts
- ACF + WPML: How to translate date fields?
- How to get shared CSS body class between translated WPML pages [closed]
- WPML – how to translate user profile fields with icl_t()? [closed]
- How to translate the blog date in the Avada theme [closed]
- Fatal Error WordPress Custom Post Type UI + WPML
- sanitize_option_{$option} filter returns null
- Taxonomy page wpml dropdown not working
- wordpress query making site very slow
- How to find posts that are missing translation? (wpml)
- WPML is blocking WP core update