-
Change your translate file name to
el_GR.po
andel_GR.mo
:el_GR.po in: testTheme\languages\el.po el_GR.mo in: testTheme\languages\el.mo
-
In 404.php file for print text you should write code like this (add textdomain):
<?php _e('The requested page does not exist.', 'testTheme'); ?>
Second parameter is textdomain.
Related Posts:
- How to create .pot files with POedit?
- When to use _e and __ for the translation?
- What is a Theme textdomain?
- pass object/JSON to wp_localize_script
- How to concatenate inside the _e() function the right way?
- What is the purpose of an extra file for translation?
- Make a custom theme translate-ready
- Change text of twentyseventeen_edit_link()
- Theme elements not translating
- Should we localize custom-made themes / plugins?
- Help with “text domain”, comments_form in WordPress theme
- Prevent WordPress updates from overriding custom language translations?
- Translation-readiness of Koi theme
- Some translations do not work in my template class
- How to make the_tags title translatable?
- Internationalization and functions that use it
- Translation Issue with WordPress Theme Check in comment_form function
- Default string not appearing want to translate
- Should I change text-domain of TGM library inside theme?
- Single translation for many locales
- comment form args are not translatable (customized comment form)
- Set parent theme language with custom .mo files
- Does the textdomain have to be the theme’s name?
- Why set a second parameter in the translate function?
- Do translation functions like __e() have to take strings in English in themes?
- Translate a child theme with pure PHP and gettext
- Translate a theme with a PO file
- Cart displayed above header
- how to unlocalize theme/plugin?
- WordPress theme doesn’t read my translations from pt_BR.po file
- Theme starter content translation is not working
- Menu names not getting translated
- Any way to permanently translate themes?
- Display Today’s date outside the loop?
- What is the preferred way to add custom javascript files to the site?
- How to add posts to custom menus?
- Should I use set_transient or update_option?
- Custom Taxonomy Tree view
- Best practice way to implement custom sections into a WordPress theme
- How to customize wordpress login/register pages?
- Add a preview to a WordPress Control Panel
- How do I remove RSS feeds from themes?
- Style.css redirects to 404 Page not found
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- De-registering parent style sheet css recommended?
- inserting custom li class to wp_list_pages
- What are non-printable characters doing in my theme?
- Theme settings keep getting reset/erased
- Custom button block doesn’t work
- How to call WooCommerce update cart function programatically
- WordPress Local Install Theme Folder Permission To Edit
- Lightweight framework [closed]
- Display div only on the HOMEPAGE
- Keep sticky posts out of query unless they have featured image
- What is the “correct” way to add hooks or similar PHP behavior to a blocktheme?
- Following Web Performance Optimization techniques to output static and dynamic css
- Echo all category names, apart from one
- Is it possible to visually group items on the theme customizer?
- Internal Stylesheet in WordPress Theme development
- How to support letting users add their OWN logo to a custom theme?
- Does code in function.php differ from theme to theme
- How can I optimize this code? [closed]
- How to Create custom xml file for demo content for custom theme?
- post_exists returning 0 if title contain special characters
- Theme not showing up
- Issue on Getting Custom post type Thumbnail’s URL
- Forms won’t submit
- How do I provide for multiple crops of the same image in a theme?
- Why WordPress AJAX returns undefined however it works fine when I add static url instead of dynamic function?
- Adding a new setting using Kirki or WP customizer with an if statement
- Twenty Seventeen Pages Loop
- How to add pages in wordpress using codes?
- How to remove permalinks links presents in each page of my site?
- Is there a way to serve different resolution images to different devices?
- How to substitute old wordpress menu by wp 3 menu the right way?
- Why my theme option not working?
- How to use multiple check-box values to work in a function and insert values in database
- How to make a function occurs for one time?
- How to enable admin to upload multiple images to support header carousel slider theme in WordPress?
- create loop for the_content()
- how to change footer content for certain pages only
- function ‘theme_settings_page’ not found
- Should I use template files or just use conditional tags in index.php?
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Need help with adding custom wordpress menu and sub-menu
- get currently showed author ID in theme functions.php
- How to load mediaelement.js in theme template?
- WordPress Blog Page displaying nothing
- Full width thumbnail
- Suppress the_content filter in a nested loop
- Set start page depending on screen width [closed]
- How can I change the title of the Home link in the navigation bar?
- URL conflict with a ‘Single Page Layout’
- loading custom.js file after jquery is loaded
- How to determine if it is legal to remove credit link from theme?
- Add option for administrator to submit link
- Display recent posts on front page
- Display first post on each page differently than the others
- Custom Theme functions.php – Using add_settings_field and input type=”file” to set custom logo
- Image and font support missing in editor when deploying theme remotely