Try our conversational search powered by Generative AI!

Languages add-on not selecting all properties when creating translation project


The Episerver Languages add-on would be perfect for a customer who wants to translate their site and send an XLIFF file to their translation company.

However the main problem I've seen is that all the content that gets put into the export package only seems to contain the Page name and Main body fields? Other properties are marked as culture specific but are not being picked up. This seems to be the same for all pages and blocks.

I couldn't find any instructions on how to configure or map what properties should be picked up.

Any help would be appreciated!

Aug 02, 2018 16:08

The properties would to put in the translation file must be String, LongString and culture specific. It cannot handle complex types. If you need to add your properties into the translate package, you have to write your own importer/exporter which implement ITranslationPackageImporter and ITranslationPackageExporter. Those require more works but you can control how the package generated and imported.

For translate nested content (ex: a block put into a page) you can add the content type in to a setting [translateOrCopyContenAreaChildrenBlockForTypes] in EPiServer.LanguageManager.config.

Aug 07, 2018 5:39

Hi Dac,

Okay that makes sense. Do the default implementations of ITranslationPackageImporter/Exporter rely on any internal interfaces or classes to Languages that I may need to reproduce?

I think I can solve most of this by checking the types match up to what you described without needing to resort to a custom implementation.

Thanks for your help.

Aug 07, 2018 11:02

Actually, the default exporter depend on classes which are in EPiServer.Enterprise.Internal for exporting content properties. But hope you can solve your problem without coding new one.

Aug 07, 2018 11:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.