Support Article
No localization in mobile version in Portrait orientation
SA-36908
Summary
In grid repeat layout column header labels are localized in desktop version and in landscape orientation of mobile version, but when user changes orientation to Portrait - localization disappeared.
Error Messages
Not Applicable
Steps to Reproduce
- Create a Section with repeat grid, have field values to label of the columns.
- Run the section.
- In desktop, see the labels are with the field values where as in the mobile portrait mode the labels are not localized.
Root Cause
When the screensize shrinks, the data-attribute-name attribute of <td> elements or Grid rows, act as the Header values.
If this data-attribute-name of <td> elements is not localized then the issue appears.
Resolution
Perform the following local-change:
Save the Header Filedvalues under a class same as that of the section's(having RepeatGrid) applies to class and also under the RepeatGrid source's associated class. Or save the Filedvalues to @baseclass.
Published July 17, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.