Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Using string as key to localize with C# - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Aug 18th, 2010 04:04 pm
PM Private Upload Quote Reply
ambua
Member
 

Joined: Tue Jul 27th, 2010
Location:  
Posts: 1
Status: 
Offline
Hello,

We have some custom files, which we would like to translate with sisulizer. We have a text file for example:

Hello

yes

 

We would like to translate it in Sisulizer from English to german:

Hello -> Hallo

yes -> ja

 

Then we would like to program something like the following:

MessageBox
.Show(Sisulizer.Translate("Hello"));

and expect that when we have set german the show message box would show up "Hallo" (German text).

This means the string ("Hello") is the key value for the ressource.

Is there a way to do this with Sisulizer and .NET?

We would like to do this because we want to build a GUI dynamically at runtime.

 

Back To Top PM Private Upload Quote Reply

 Posted: Wed Aug 18th, 2010 04:20 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Hi,

Why don't you put these strings into text resources and then access them like this:

label1.Text = Original.Properties.Resources.SampleText;

?

If you have installed Sisulizer look into your documents folder\Sisulizer 2010 (if you run Vista or newer, else look into the program folder) and open the NET folder. There is a PDF. Search for "Hard Coded Strings" in it to see the above code in context of a sample.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

Current time is 08:26 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Using string as key to localize with C#



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize