 
  
   
  
  pll_get_term
Returns the category (or post tag) translation
Usage:
1
pll_get_term($term_id, $slug);
‘$term_id’ => (required) id of the term you want the translation
‘$slug’ => (optional) 2-letters code of the language, defaults to current language
returns the id of the translated term as integer. 
  
   
  
  
 
  
  add_action( 'carbon_fields_register_fields', 'crb_attach_theme_options' );
function crb_attach_theme_options() {
	$basic_options_container = Container::make( 'theme_options', __( 'Basic Options', 'medical' ) )
    ->set_page_menu_title(  __( 'Setari Pagina Principala', 'medical' ))
    ->add_tab( 'Header', array(
        Field::make( 'text', 'crb_header_slogan', __( 'Slogain in header', 'medical' ) ),
    ) ) 
  
   
  
   
  
  
На данный момент впервые создаю мультиязычный сайт и сталкиваюсь с проблемами.
А чем wpml лучше polylang?