• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to import text insets via variables?

Contributor ,
Sep 13, 2019 Sep 13, 2019

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

TOPICS
Structured

Views

883

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 19, 2019 Sep 19, 2019

Copy link to clipboard

Copied

LATEST
Many thanks for the support. I will contact you via email soon.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines