activate_name_root = {

        if = { limit = { controller = { tag = JAP } }
		    apply_japanese_name = yes
	    }
		
	    else_if = { limit = { controller = { tag = KOR } }
		    apply_korean_name = yes
		}
		
		else_if = { limit = { controller = { is_chinese_speaking_countries = yes } }
			apply_chinese_name = yes
		}
		
		else_if = { limit = { controller = { is_german_speaking_countries = yes NOT = { AUS = { has_cosmetic_tag = HUN_EMPIRE } } } }
		    apply_german_name = yes
		}
		
		else_if = { limit = { controller = { is_czechoslovak_country = yes NOT = { CZE = { has_cosmetic_tag = HUN_EMPIRE } } } }
		    apply_czechoslovak_name = yes
		}
		
		else_if = { limit = { controller = { is_polish_countries = yes } }
			apply_polish_name = yes
		}
		
		else_if = { limit = { controller = { tag = HUN NOT = { HUN = { has_cosmetic_tag = HUN_EMPIRE } } } }
		    apply_hungarian_name = yes
		}
		
		else_if = { limit = { controller = { is_romanian_speaking_countries = yes } }
			apply_romanian_name = yes
		}
		
		else_if = { limit = { controller = { is_italian_states = yes NOT = { ITA = { has_cosmetic_tag = SPQR_UNIFIED } } } }
			apply_italian_name = yes
		}
			
		else_if = { limit = { controller = { is_greek_countries = yes } }
			apply_greek_name = yes
		}
		
		else_if = { limit = { controller = { is_turkish_countries = yes } }
			apply_turkish_name = yes
		}
	
		else_if = { limit = { controller = { tag = BUL } }
			apply_bulgarian_name = yes
		}
		
		else_if = { limit = { controller = { is_albanian_speaking_countries = yes } }
			apply_albanian_name = yes
		}
		
		else_if = { limit = { controller = { is_yugoslavian_countries = yes } }
			apply_yugoslavian_name = yes
		}
		
		else_if = { limit = { controller = { tag = EST } }
			apply_estonian_name = yes
		}
	
		else_if = { limit = { controller = { tag = LAT } }
			apply_latvian_name = yes
		}
		
		else_if = { limit = { controller = { tag = LIT } }
			apply_lithuanian_name = yes
		}
		
		else_if = { limit = { controller = { is_dutch_speaking_countries = yes NOT = { HOL = { has_cosmetic_tag = HOL_reichskommissariat } } } }
			apply_dutch_name = yes
		}
		
		else_if = { limit = { controller = { is_french_speaking_countries = yes NOT = { BEL = { has_cosmetic_tag = BEL_reichskommissariat } } } }
            apply_french_name = yes
		}
		
		else_if = { limit = { controller = { tag = LUX } }
			apply_luxembourgish_name = yes
		}
		
		else_if = { limit = { controller = { is_spanish_speaking_countries = yes } }
			apply_spanish_name = yes
		}
		
		else_if = { limit = { controller = { is_spanish_monarchist_countries = yes } }
			apply_monarchistspanish_name = yes
		}
		
		else_if = { limit = { controller = { is_portuguese_speaking_countries = yes } }
			apply_portuguese_name = yes
		}
		
		else_if = { limit = { controller = { is_finnish_countries = yes } }
		    apply_finnish_name = yes
		}
		
		else_if = { limit = { controller = { tag = NOR NOT = { NOR = { has_cosmetic_tag = NOR_reichskommissariat } } } }
			apply_norwegian_name = yes
		}
		
		else_if = { limit = { controller = { tag = SWE } }
			apply_swedish_name = yes
		}
		
		else_if = { limit = { controller = { tag = DEN } }
			apply_danish_name = yes
		}
		
		else_if = { limit = { controller = { tag = BLR NOT = { BLR = { has_cosmetic_tag = BLR_reichskommissariat } } } }
			apply_belarusian_name = yes
		}
		
		else_if = { limit = { controller = { tag = UKR NOT = { UKR = { has_cosmetic_tag = UKR_reichskommissariat } } } }
		    apply_ukrainian_name = yes
		}
		
		else_if = { limit = { controller = { is_arab_speaking_countries = yes } }
			apply_arab_name = yes
		}
		
		else_if = { limit = { controller = { is_english_countries = yes } }
			apply_english_name = yes
		}
		
		else_if = { limit = { controller = { tag = RAJ } }
			apply_indian_name = yes
		}
		
		else_if = { limit = { controller = { tag = PAK } }
			apply_punjab_name = yes
		}
		
		else_if = { limit = { controller = { tag = BAN } }
			apply_bengali_name = yes
		}
		
		else_if = { limit = { controller = { is_malay_speaking_countries = yes } }
			apply_malay_name = yes
		}
			
		else_if = { limit = { controller = { is_american_countries = yes } }
			apply_usa_name = yes
		}
		
		else_if = { limit = { controller = { is_ethiopian_states = yes } }
			apply_ethiopian_name = yes
		}
		
		else_if = { limit = { controller = { tag = ISR } }
			apply_israeli_name = yes
		}
			
		else_if = { limit = { controller = { tag = SIA } }
			apply_siam_name = yes
		}
	
		else_if = { limit = { controller = { is_persian_countries = yes } }
			apply_persian_name = yes
		}

		else_if = { limit = { controller = { is_mongol_countries = yes } }
			apply_mongol_name = yes
		}
		
		else_if = { limit = { controller = { is_mongol_communist_countries = yes } }
			apply_communistmongol_name = yes
		}

		else_if = { limit = { controller = { tag = TIB } }
		    apply_tibetan_name = yes
		}
		
		else_if = { limit = { controller = { tag = BHU } }
	        apply_bhutan_name = yes
		}
			
	    else_if = { limit = { controller = { tag = NEP } }
			apply_nepal_name = yes
		}
		
		else_if = { limit = { controller = { tag = ARM } }
			apply_armenian_name = yes
		}
		
		else_if = { limit = { controller = { tag = GEO } }
			apply_georgian_name = yes
		}
		
		else_if = { limit = { controller = { tag = KUR } }
			apply_kurdistani_name = yes
		}
		
		else_if = { limit = { controller = { tag = AZR } }
			apply_azerbaijani_name = yes
		}
		
		else_if = { limit = { controller = { tag = KAZ } }
			apply_kazakhstani_name = yes
		}
		
		else_if = { limit = { controller = { tag = TAJ } }
			apply_tajikistani_name = yes
		}
		
		else_if = { limit = { controller = { tag = KYR } }
			apply_kyrgyzstani_name = yes
		}
		
		else_if = { limit = { controller = { is_uzbek_speaking_countries = yes } }
			apply_uzbekistani_name = yes
		}
		
		else_if = { limit = { controller = { tag = TMS } }
			apply_turkmenistani_name = yes
		}
		
		else_if = { limit = { controller = { tag = IRE } }
		    apply_irish_name = yes
		}
		
		else_if = { limit = { controller = { tag = SCO } }
		    apply_scottish_name = yes
		}
		
		else_if = { limit = { controller = { is_welsh_speaking_states = yes } }
		    apply_welsh_name = yes
		}
		
		else_if = { limit = { controller = { tag = ICE } }
		    apply_icelandic_name = yes
		}
		
		else_if = { limit = { controller = { is_vietnamese_countries = yes } }
		    apply_vietnamese_name = yes
		}
		
		else_if = { limit = { controller = { is_vietnamese_communist_countries = yes } }
		    apply_communistvietnamese_name = yes
		}
		
		else_if = { limit = { controller = { tag = LAO } }
		    apply_lao_name = yes
		}
		
		else_if = { limit = { controller = { tag = CAM } }
		    apply_khmer_name = yes
		}
		
		else_if = { limit = { controller = { tag = BRM } }
		    apply_burmese_name = yes
		}
		
		else_if = { limit = { controller = { is_serbian_countries = yes } }
		    apply_serbian_name = yes
		}
		
		else_if = { limit = { controller = { is_nenets_countries = yes } }
		    apply_nenets_name = yes
		}
		
		else_if = { limit = { controller = { tag = KOM } }
		    apply_komi_name = yes
		}
		
		else_if = { limit = { controller = { tag = OVO } }
		    apply_ostyak_name = yes
		}
		
		else_if = { limit = { controller = { tag = TAY } }
		    apply_taymyrian_name = yes
		}
		
		else_if = { limit = { controller = { tag = YAK } }
		    apply_sakha_name = yes
		}
		
		else_if = { limit = { controller = { tag = CKK } }
		    apply_chukotkan_name = yes
		}
		
		else_if = { limit = { controller = { tag = BYA } }
		    apply_buryatian_name = yes
		}
		
		else_if = { limit = { controller = { tag = ALT } }
		    apply_altai_name = yes
		}
		
		else_if = { limit = { controller = { tag = BSK } }
		    apply_bashkor_name = yes
		}
		
		else_if = { limit = { controller = { tag = UDM } }
		    apply_udmurtia_name = yes
		}
		
		else_if = { limit = { controller = { tag = TAT } }
		    apply_tatarstani_name = yes
		}
		
		else_if = { limit = { controller = { tag = MEL } }
		    apply_mariel_name = yes
		}
		
		else_if = { limit = { controller = { tag = CHU } }
		    apply_chuvas_name = yes
		}
		
		else_if = { limit = { controller = { tag = KKP } }
		    apply_karakal_name = yes
		}
		
		else_if = { limit = { controller = { tag = VGE } }
		    apply_volgagerman_name = yes
		}
		
		else_if = { limit = { controller = { tag = KAL } }
		    apply_kalmykian_name = yes
		}
		
		else_if = { limit = { controller = { tag = DAG } }
		    apply_dagestani_name = yes
		}
		
		else_if = { limit = { controller = { tag = CIN } }
		    apply_chechnyan_name = yes
		}
		
		else_if = { limit = { controller = { tag = NOA } }
		    apply_ossetian_name = yes
		}
		
		else_if = { limit = { controller = { tag = KBK } }
		    apply_kabardino_name = yes
		}
		
		else_if = { limit = { controller = { tag = ABK } }
		    apply_abkhazian_name = yes
		}
		
		else_if = { limit = { controller = { tag = BRI } }
		    apply_brittany_name = yes
		}
		
		else_if = { limit = { controller = { tag = OCC } }
		    apply_occitan_name = yes
		}
		
		else_if = { limit = { controller = { tag = NAV } }
		    apply_basque_name = yes
		}
		
		else_if = { limit = { controller = { tag = CAT } }
		    apply_catalonian_name = yes
		}
		
		else_if = { limit = { controller = { tag = GLC } }
		    apply_galician_name = yes
		}
		
		else_if = { limit = { controller = { tag = COR } }
		    apply_corsican_name = yes
		}
		
		else_if = { limit = { controller = { tag = SMI } }
		    apply_sapmi_name = yes
		}
		
		else_if = { limit = { controller = { tag = RAP } }
		    apply_rapanui_name = yes
		}
		
		else_if = { limit = { controller = { tag = MAY } }
		    apply_mayan_name = yes
		}
		
		else_if = { limit = { controller = { tag = INC } }
		    apply_incan_name = yes
		}
		
		else_if = { limit = { controller = { tag = GAR } }
		    apply_guarani_name = yes
		}
		
		else_if = { limit = { controller = { tag = BEL } }
		    apply_belgian_name = yes
		}
		
		else_if = { limit = { controller = { is_russian_neutrality_countries = yes } }
		    apply_neutralityrussia_name = yes
		}
		
		else_if = { limit = { controller = { is_russian_communist_countries = yes } }
		    apply_communistrussia_name = yes
		}
		
		else_if = { limit = { controller = { is_russian_fascism_countries = yes } }
			apply_fascismrussia_name = yes
		}
		
		else_if = { limit = { controller = { is_russian_democratic_countries = yes } }
			apply_democraticrussia_name = yes
		}
		
		else_if = { limit = { controller = { is_pacific_countries = yes } }
		    apply_pacific_name = yes
		}
		
		else_if = { limit = { controller = { is_african_nations = yes } }
		    apply_african_name = yes
		}
		
		else_if = { limit = { controller = { tag = MAN } }
		    apply_manchurian_name = yes
	    }
		
		else_if = { limit = { controller = { is_austria_hungary = yes } }
		    apply_austrohungarian_name = yes
		}
		
		else_if = { limit = { controller = { is_roman_empire = yes } }
		    apply_roman_name = yes
		}
		
		else = { reset_state_name = yes }
	}