• I am using Loco translate plugin https://www.ads-software.com/plugins/loco-translate/ to translate theme and polylang for dual language site. I have problems with custom taxonomy terms, i cant translate them totally. Here is the screenshoot https://prntscr.com/att3v2 . Do you know why i have this problem, some are translated, some not. I use this code for those labels
    $x = ‘<fieldset class=”search-field”><label>’.__( str_replace(“_”,” “,ucwords($tax)) , “FoodRecipe”).'</label>. They are registered like this
    function build_taxonomies() {

    // Recipe Type Custom Taxonomy
    $recipe_type_labels = array(
    ‘name’ => __(‘Recipe Types’, ‘FoodRecipe’),
    ‘singular_name’ => __(‘Recipe Type’, ‘FoodRecipe’),
    ‘search_items’ => __(‘Search Recipe Types’, ‘FoodRecipe’),
    ‘all_items’ => __(‘All Recipe Types’, ‘FoodRecipe’),
    ‘parent_item’ => __(‘Parent Recipe Type’, ‘FoodRecipe’),
    ‘parent_item_colon’ =>__(‘Parent Recipe Type:’, ‘FoodRecipe’),
    ‘edit_item’ => __(‘Edit Recipe Type’, ‘FoodRecipe’),
    ‘update_item’ => __(‘Update Recipe Type’, ‘FoodRecipe’),
    ‘add_new_item’ => __(‘Add New Recipe Type’, ‘FoodRecipe’),
    ‘new_item_name’ => __(‘Recipe Type Name’, ‘FoodRecipe’),
    ‘menu_name’ => __(‘Recipe Types’, ‘FoodRecipe’)
    );

    Thank you in advance, and if you need more informations contact me.

    https://www.ads-software.com/plugins/polylang/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Polylang Loco Translate Dual Language Site’ is closed to new replies.