|
|||
|
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Where do I find my string constants in Sisulizer?
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Where do I find my string constants in Sisulizer? - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
David Burson Member
|
Hi, We have a number of string constants and literals defined in our code, some in forms, and some in classes or modules (VB.NET, VS 2005, .NET 2.0). After scanning my exe, I have not been able to figure out where those strings are listed in Sisulizer for the translator. How do I translate my constants and literals? Thanks David
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
Could you send one of your file that contains those strings to us please. support (at) sisulizer.fi best regards Ilkka
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
David Burson Member
|
I just now sent my exe. I noted a few examples you can look for. Thanks David
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
If you have a string literal hard coded into the code it won't be stored in the resource block but instead is stored inside the compiled code. There is not way to translate it from there. In order to translate those string add them to a resouce file (.resx). In your code where you use the contant such as kUnfiltered you have to access resource string instead. Public Const kUnfiltered As String = "Unfiltered" ... str = kUnfiltered -> Dim res As New Resources.ResourceManager("MyApplication.Resource", GetType(mainform).Assembly) ... str = res.GetString('kUnfiltered'); Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
My previous instructions were fro .NET 1.x In Visual Studio 2005 there is an automatic resource string access. You do not have to create the ResourceManager object but you can access strings in the resource file just like using contants. See <sldir>\NET\VB\Converter or the attached project. Attachment: Sample.zip (Downloaded 0 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
David Burson Member
|
Thanks Jaakko, Is there an automated process or any existing tool to handle putting my strings into a resx file? In a project as large as ours, it would be a major effort to do it by hand. Thanks David
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Markus.Kreisel Administrator
|
Hi David, you might want to Google for i18N (internationalization) which is the step before localization (L10N) which is what Sisulizer does. We do not offer i18N because it has to be source code oriented and we at Sisulizer concentrate on binary localization. There are tools and services offered. But unless you have an extreme large project it is easier and faster done yourself. You only have to do it once so a tool does not pay of for the most of projects. Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
There is one tool called Globalyzer. It is an I18N tool. http://www.globalyzer.com How many hard coded string you have. I would recommend to change you code manually unless you have more than a thousand strings. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| Current time is 03:24 am | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Where do I find my string constants in Sisulizer? | |
Sisulizer software localization tool - Three simple steps to localize