Forum Discussion
Translation for Custom Blocks, Code Blocks, and Text-to-speech
Hi Lauren,
My experiment better than what you describe: I made a course with all the 'custom blocks' (keeping the text for the templates) and I was able to export the xliff file with all the text and import translation.
This is rather good, but of course there is a limit: In custom blocks we can do whatever we want but the layout won't be responsive to the change of text length. If you translate in a language that uses more words than in English, It will be a problem.
In general the layout of custom block is not responsive, so it won't fit courses that have to be used both on laptops and smartphones, unless designers had that in mind...
My question was about code blocks. Indeed for them XLIFF export does not work.
- Janina_Valles5 days agoStaff
Hi ThiMalta!
Thanks for the added detail. You’re absolutely right: text inside custom blocks is included in the XLIFF export, but custom blocks are not fully responsive, which can cause layout issues in translated courses.
For code blocks specifically, those are not yet included in the translation export, so they do have to be updated manually after import.
I’ve shared this with our product team so they can consider adding code block support to the XLIFF workflow.
Really appreciate you pointing this out and explaining the impact.
We'll keep you posted as soon as we have updates!
Related Content
- 5 months ago
- 3 months ago