Should be put to the translation function.
<?php comment_form(array ('title_reply' => __('Leave a comment', 'mytextdomain'))); ?>
Or use WordPress translation:
<?php comment_form(array ('title_reply' => __('Leave a comment'))); ?>
Related Posts:
- Override default WordPress core translation
- How to get a translated string from a language other than the current one?
- Custom strings for translation using Polylang plugin
- Working with l10n contexts (_x etc)
- How to debug failed load_theme_textdomain()?
- How do translated, escaped strings (esc_attr) in Themes work?
- what’s different between _x() and _()
- How to handle text with function __(?
- Obtain a list of available translations
- How do I translate: “2 hours and 15 minutes”?
- Disabling Translation Update
- How to save a translation of a plugin in “CodeStyling Localization”?
- How to escape single and plural i18n text strings?
- Set language per post
- List of Default Translated Phrases
- Difference between 2 internationalization (i18n) functions __() & _e()
- How to extract translatable (double underscores and _e) strings?
- How to set locale in ajax requests?
- Translate Navigation Menu & Sidebar Widget Titles
- Translate content, not instance, per-post
- How to load theme textdomain from plugin?
- Make theme translatable for WPML
- get_the_date() for translating date format
- Multiple text-domains per single plugin – admin and frontend
- Where the WordPress Core Translation is “actually” taking place?
- POEdit with Custom mu-plugins code
- How to translate theme name
- Using polylang, how can I see which post is the “original” and which are the “translated children”? [closed]
- Use WordPress default text domain for translating labels
- Is this a correct usage of esc_html_e?
- Where is the right .mo file inside the language repository?
- setlocale for date
- where to set the PO file for a plugin?
- Replacing strings within posts with the translatable string
- Should I include colon in my msgid in PO file?
- WPML custom string translation get outside of container
- Replace text string on individual page
- Change template copy with po/mo files
- Implementing conditional gettext translation
- How to syntax Json output for translation?
- Translating a word with locotranslate, but wordpress does display another by default
- Translations not returning translated strings
- Can’t generate pot file using wp cli
- How do I translate month names in post metadata?
- How to avoid override string by child theme mo files when the string is empty?
- How to translate timestamp?
- How to override default WordPress core language file
- Add a string to file .pot using Poedit
- Use the wp-admin translations on the front end
- Force translated language on front
- Translate theme only
- what’s different between _x() and _()
- WordPress translation loading english file
- How do I troubleshoot translation issues?
- Easy export/import of data for Translation
- How can I see my theme’s text domain?
- How to change a word in theme?
- WordPress Theme .mo-file won’t load
- Translation for plugin
- Is it best practice to use English as the base of a translation-ready theme?
- WordPress Translation Issue
- How to translate “$before” with get text in get_the_term_list?
- Translation with wordpress what does the process involve?
- Get Text Domain For Transalation
- Found a translation function that is missing a text-domain. Function _n
- How to translate custom Divi module using POEDIT and Polylang [closed]
- Can I set WordPress to display languages based on system language without a plugin?
- /languages/ folder missing in default themes
- Trying to localize a Underscores starter theme [duplicate]
- Programmatically choose language for translation
- Post types translation
- mo / po translation files does not seem to work
- How to define theme translation file?
- Internationalize plugin so strings can be translated in WPML [closed]
- localization of theme and plugins to English (originally in another language)
- String translation for esc_html__() when registering string [closed]
- Making WP theme / plugin multii-lingual without plugins
- __() function inside html tags
- How to do translations in WordPress?
- Can’t translate child theme
- Qtranslate-X get raw post title value
- Interface translation without plugins
- WordPress does not translate
- Debug WordPress gettext function
- How to use translation functions inside WordPress page
- qtranslate loading the wrong language
- issue in translating a wordpress them
- Understanding WordPress Default Theme – twentyfifteen.1.4 >> Languages Folder
- Custom theme .mo translation file not working
- Adding a translation phrase to WordPress Theme
- Translate Plugin with french as base language
- WordPress translation
- Tweak the loop for translation
- GlotPress – WordPress integration
- Archive widget numbers translation?
- Translations in source code
- String translation with or without po file
- Theme translation file translating some strings and not translating others
- How to find posts that are missing translation? (wpml)
- .po file is loaded but changes are not appearing