Hi everyone
I have an interesting question, and looking for some inspiration or advice to a problem I would like to solve. I thought I would ask the question before the FME Webinar on Excel that will be this Thursday (24.09.2020)
There are a few workspaces that I need to adapt for multiple languages (English, German, French). The result is that all my outputs should be adapted for the language, meaning all texts and even the header in documents should be edited.
My workflow is as follows: GoogleForms csv Input > FME Desktop Transformers > HTML Output
As an example
In JSON one would build a multiple language dictionary like this:
var arrLang = {
"en-gb": {
"HOME": "Home",
"ABOUT": "About Us",
"CONTACT": "Contact Us",
},
"zh-tw": {
"HOME": "首頁",
"ABOUT": "關於我們",
"CONTACT": "聯絡我們",
}
};
I am pondering what the best way to do this for my FME Workspaces. In my attached excel, I have used Lists to achieve a similar result, but how can I control the Features (Column Headers) language in my HTML? I need to keep all my feature and types as dynamic as possible, so I assume I have to define them all before hand in the different languages.
Here is a workspace example:
HTML Headers are tedious to add in excel Config table and the ones in yellow I haven't edited.
Would it make sense to rather use a JSON Language table to create a dynamic input?
I do not want to make a super complex excel config table if there are easier solutions out there.
Attached: FME workspace + excel tables and html report
Cheers
Fred