Sample Translation Configuration

Display of an example of a translation configuration

Below shows a translation configuration where you wish to translate entities Product, Item, & Recipe.

Each of the translatable entities requires the corresponding LinkType as shown, as well as the required languages to be listed.

<TranslationConfiguration>	
    <EntityTypes>	
        <EntityType Id="Product">	
                                <InTranslationFieldType Id="trProductInTranslation" />	
                                <TranslatedFieldType Id="trProductTranslated" />	
                                <TranslationInfoFieldType Id="trProductTranslationStatus" />	
        </EntityType>	
	<EntityType Id="Item">
                                <InTranslationFieldType Id="trItemInTranslation" />	
                                <TranslatedFieldType Id="trItemTranslated" />	
                                <TranslationInfoFieldType Id="trItemTranslationStatus" />	
	</EntityType>
	<EntityType Id="Recipe">
                                <InTranslationFieldType Id="trRecipeInTranslation" />	
                                <TranslatedFieldType Id="trRecipeTranslated" />	
                                <TranslationInfoFieldType Id="trRecipeTranslationStatus" />	
	</EntityType>
    </EntityTypes>	
    <LinkTypes>	
        <LinkType Id="TranslationJobProduct" />	
        <LinkType Id="TranslationJobItem" />	
        <LinkType Id="TranslationJobRecipe" />
        <LinkType Id="ProductItem" />	
    </LinkTypes>	
    <Languages>	
        <Language key="en" lionbridgeCode="en-gb" inRiverCode="en" />	
        <Language key="dadk" lionbridgeCode="da-DK" inRiverCode="da-DK" />	
        <Language key="dede" lionbridgeCode="de-de" inRiverCode="de-DE" />	
        <Language key="eses" lionbridgeCode="es-es" inRiverCode="es-ES" />	
        <Language key="fifi" lionbridgeCode="fi-FI" inRiverCode="fi-FI" />	
        <Language key="frfr" lionbridgeCode="fr-fr" inRiverCode="fr-FR" />	
        <Language key="nbno" lionbridgeCode="nb-NO" inRiverCode="nb-NO" />	
	    <Language key="nlnl" lionbridgeCode="nl-NL" inRiverCode="nl-NL" />
        <Language key="ptbr" lionbridgeCode="pt-BR" inRiverCode="pt-BR" />	
        <Language key="ptpt" lionbridgeCode="pt-PT" inRiverCode="pt-PT" />	
        <Language key="frca" lionbridgeCode="fr-CA" inRiverCode="fr-CA" />	
        <Language key="svse" lionbridgeCode="sv-SE" inRiverCode="sv-SE" />	
        <Language key="zhcn" lionbridgeCode="zh-cn" inRiverCode="zh-CN" />	
    </Languages>	
</TranslationConfiguration>

Last updated