• I have a site which will not use English at all. I have changed locale, done everything that I know to change language, the entire site will only be used by Chinese speakers. I have installed the appropriate zh_CN.po and zh_CN.mo files into \wp-content\languages and the theme’s \languages folder. In wp-config.php there is define ('WPLANG', 'zh_CN');

    However, there is still English hardcoded into the site. Specifically, here on the search results page. How do I replace this with the appropriate Chinese text?

Viewing 3 replies - 1 through 3 (of 3 total)
  • That’s hard-coded in the php file. Probably called search.php

    Thread Starter garbunk

    (@garbunk)

    I searched, there is no search.php file anywhere in my /wp-content or /wp-includes directories, except for Relevanssi plugin and that search.php is purely code to drive the engine with no display properties. Supposedly there should be a search_results.php or similar somewhere. I’m not seeing it though.

    In Customizr the string “Search results for” is in the file class-content-breadcrumb.php, but it’s translated normally in the current version,3.0.13. You seem to be using version 3.0.9. Perhaps it is a bug in that old version that has since been fixed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting rid of the remaining English after changing locale’ is closed to new replies.