To make an existing site multilingual, I follow the globalization method, I created 3 resource files for other content, such as a text label file and a header file, a text file for the grid header, etc. .... Now I have two keys in different resource files : ie Email and Message, in third place I want to show both of these keywords together. Email message. Do I need to create a third key, or can I concatenate existing keys. I am currently using below two codes
For showing directly on page:
HttpContext.GetGlobalResourceObject("ResourceLabelButton", "Email")
For showing as text of any control like Textbox, label:
Text ="<%$ Resources:ResourceContent, Email %>"
I can combine the two resource lines on the .cs page, but this will increase the timeline, so please suggest that I can only change .aspx pages.
Thank you in advance
source
share