1 & 2) These elements are part of WordPress’s
comment_form function, which the theme uses in comments.php. You can either copy comments.php to your Child theme and edit it directly, or you’ll see that the
$args currently passed into the comment_form function has a filter “themeblvd_comment_form” attached that you could utilize from your Child theme’s functions.php.
3) All text strings that theme outputs on the frontend of the site come from one function that can be filtered. Here’s a complete breakdown on how this works:
You can also use this plugin:
I try to place a barelycorporate_FR.mo & barelycorporate_FR.po in barelycorporate/lang/
But it’s not working…
If you’re trying to actually do a full translation in the standard WordPress way with PO files, here’s an explanation on that:
In the WordPress world, they refer to translating WordPress as “locxalization” and so this theme comes “localization-ready”.
This is the complete guide to get you started:
Specifically to the theme, there is a file called barelycorporate.po located in the “lang” folder of the theme. You download that file and translate the contents line by line. This process will be easier to manage if you use a program like poEdit, for example. That way you’ll be able to translate the file with a user-friendly interface and not a text editor. Then you save the file with your language code in the file name (ex: fr_FR.po for French, en_BR.po for British, etc). When you do this, poEdit will also create a second file for you with the same name ending in “.mo”. Then you need to upload these two new files back to “lang” folder of the theme on your live site.
In order for the above process to work, you need to actually have your WordPress site set to be in your language. You do that by changing the language code in your wp-config.php file (which is found in the root directory or your WordPress installation). Here’s a guide on that process: