Copy link to clipboard
Copied
Hi,
I would like to extend my user manual template using text insets and variables for single sourcing into different languages. In other words, what I am trying to explain is a book with n chapters where each chapter is available in few different languages. I would like then to create a book whose n chapters (chapter_1 to chapter_n) are blank templates. Then using text insets, I can import the corresponding texts into each individual chapter. However, I would like to have only one book for all the different languages that I have. To achieve this, I intend to refer to the corresponding fm files using a "lang" variable. For instance, into chapter_1, I would like to import: chapter_1_eng.fm and into chapter_2: chapter_2_eng.fm etc. Then for German that would be chapter_1_ger.fm for chapter_1 and chapter_2_ger.fm for chapter_2. This way, I can set the value of the lang variable to the corresponding language after opeining the book and hopefully get the correct chapter contents. So, all I would need to know is how to combine the lang variable, with the inserted filenames.
Sorry for the long story.
Cheers,
Hadi
Copy link to clipboard
Copied