|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| Manual translation of strings - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
sdg Member
|
Hi, I want to manually translate some strings used in my C# .NET project. E.g. I have a menubar with items, the menu item captions are taken from a XML file. In the code, I have something like MenuItem.Caption = xmlString. I used to work with Multilizer and Delphi some time ago and there I had to use the Translate() method. But I don't know how to do this under .NET. I'am new to localization under .NET and I apologize if this post is more related to .NET instead of Sisulizer. Thanks anyway for your help. Stefan.
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
Hi Stefan, You have to move the strings into your resources. In your code you read the strings from the resources like: resourceValue = resourceManager.GetString(key); The strings are not translated at runtime like with the Translate() function. While forms are resourced automatically if you set the localizable flag you have to do that for string in the source code manually. Take a look at the .NET samples coming with Sisulizer to learn how it works in .NET. Hope this helps Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
sdg Member
|
Hi Markus, Thanks for your quick reply, this was exactly I was looking for. Regards, Stefan.
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
You are welcome. Please let us know when you need more help. Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| Current time is 08:43 pm | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Manual translation of strings | |
Sisulizer software localization tool - Three simple steps to localize