Thanks BD.I had looked at some of these links, and in fact I’ve found a more recent discussion of getting Hueman to work in french:
The plugin I was using doesn’t help. I think I simply need to change the theme code.
If I’ve understood things right, I must “declare the text domain” in wp-includes/l10n.php
In this file the bit of code for loading the theme’s translated strings reads:
function load_theme_textdomain( $domain, $path = false ) {
$locale = get_locale();
I’ve looked at the codex too, and it says:
$domain
(string) (required) Unique identifier for retrieving translated strings.
Default: None
$path
(unknown) (optional) The directory where the .mo file can be found (without the trailing slash).
Default: false
I’m not a programmer, and am not clear what I should be declaring. Can you suggest what’s needed? (I do have the .po and .mo files properly installed). Thanks.
Well, I don’t know much about translating themes but I wouldn’t think you’d need to change anything in the core WP files. What I have are the following references which might provide some guidance and help. Not trying to put you off here but would rather have you get some information from others who know more about it rather than steering you in the wrong direction:
https://ww.wp.xz.cn/support/topic/change-language-file?replies=5
http://www.sanjipshah.com/internationalization-localization-wordpress-theme-part-2/
http://wplang.org/translate-theme-plugin/
http://www.designwall.com/guide/how-to-translate-wordpress-theme/
http://codex.ww.wp.xz.cn/Installing_WordPress_in_Your_Language