• Greetings everyone,
    I’d like to tell you about an issue I have that troubles me some time now and if there is any kind of workaround if someone fought with the same problem in the past.

    I register a custom post type (and it’s taxonomy) inside my function.php file in my theme’s child folder. Lets say that my registered taxonomy name is “Something”. Everything works properly in general but I have an issue with the breadcrumbs.

    Since the taxonomy’s registered is “Something” as I said above the breadcrumb echo “Something”.

    I tried to find ways to translate “Something” into Greek but nothing worked at all. I looked WPML if there is any possible way or setting to do that but unfortunately you can change the name of the secondary languages only and not the initial one.

    So in order to conclude, what I’m looking for is somehow The taxonomy name that is displayed inside breadcrumbs to be translated in Greek when you watch the Greek website view and to be translated inEnglish when you watch the English website view.

Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    My recommendation would be to always use English terms as initial designations. You can supply a language file for the languages you want. An introduction can be found here: https://developer.ww.wp.xz.cn/plugins/internationalization/localization/

    So you could write your theme or plugin in English, provide your own translations and translation plugins would have the chance to provide translations in any language based on the original English terms.

Viewing 1 replies (of 1 total)

The topic ‘A question about CPT creation’ is closed to new replies.