‎2015 Apr 22 10:20 AM
Hi All,
I have faced a strange issue while making modifications to my Smartform. I needed to make changes in a Smartform and implement certain modifications. The smartform contains many country-specific data and hence is printed in various other Non-English (Foreign) languages.
In order to achieve the same, numerous text modules have been used along with their translations which have been maintained in the system. While using each of the text module the Language is maintained via a variable in the Language Tab present against each Text Module.
For example: If the text module is Z_TEXT_MODULE1 then the Language is maintained in a variable called G_LANGU.
This G_LANGU has been maintained against each of the Text Module Language boxes. When a print-out is initiated the value of G_LANGU is calculated and the Text Module is displayed accordingly in the derived language.
In a strange event, I noticed that this language had disappeared from all the Text Modules used in the Smart Form and hence the form was only being printed in English.
I re-maintained the language as it was supposed to be and the issues were resolved. However, I still cannot determine how exactly could all the languages have disappeared from the Text Module.
Please suggest in case there is a known scenario where this kind of problem has been observed in your experience.
Thanks,
Suvo.
‎2015 Apr 23 7:11 AM
You need to edit the text module in the original language in which it was created and maintained.
Suppose the text module was created originally in language DE and u changed it in language EN, this will cause all the translations to disappear and only the EN will be visible.
So, always login in the original language and change such text modules.
‎2015 Apr 23 9:15 AM
Hello Ashsish,
Thanks for the reply and insight. As you have rightly pointed out this problem does exist when you make changes in the Text Modules.
My issue is not that. In my case no changes were made in any of the text modules. But, the language maintained against a Text Module in a Smartform. Please refer to the below screen-shot as example:
The area highlighted in red shows the place where the language can be maintained (constant or variable) against each Text Module.
My query is: Under what technical conditions/ circumstances could the value from the "Language" Field have disappeared/ deleted (for all the Text Modules used inside the Smartform), even when no changes were made explicitly inside any Text Module.
Thanks,
Suvo
‎2015 Apr 23 10:36 AM
That field will get empty if the text node is copy pasted. The pasted text node will have that field blank.
‎2015 Apr 23 10:40 AM
Agreed... But, as I mentioned before, no new Text Module was copied or pasted.
‎2015 Apr 23 11:01 AM
What kind of changes did u made to the smartform ? did you changed the original language of the smartform ?
‎2015 Apr 23 11:14 AM
No... only a new template was added to show footer text.. That's what makes the problem so strange in this case.. None of the Text Modules from where the Language disappeared were changed or modified.