I am currently working on some code that handles keyboard shortcuts in a Silverlight 4 application. I want to create a control window in which users can define custom keyboard shortcuts if they do not want to use standard ones. However, some keys have different translations in some languages (for example, Home, Del, ...). Of course, I want to translate these texts so that each user understands the keyboard shortcuts correctly.
Is there something like an inline translation for something like that? I am thinking of something like DateTime behavior. If I work with DateTimes, texts for days or months are automatically determined through the system settings.
string dateTimeTest = DateTime.Now.ToLongDateString();
In the German system, this leads to the text "Freitag, 20. Juli 2012".
Is there something similar for keys? Or do I need to translate all the necessary keys manually?
Thanks in advance!
source share