| Emily | posted: Wed Jul 13, 2005 3:31 pm | |
Member since: 2006-04-17 Posts: 361
| We finally found a "easy" and free way to let people without Visual Studio .NET 2003 translate SimPE.
This Tutorial is supposed to give you some Pointers, on how to create a new Language Version of SimPE.
What you need:
- First you need the Localization Package of SimPe, you can dowload it from Sourceforge.
- In order to Edit the Forms, you also need the completeley free Microsoft Visual Studio C# 2005 Express Edition, which you can download from the Microsoft Site.
|
| Emily | posted: Wed Jul 13, 2005 3:40 pm | |
Member since: 2006-04-17 Posts: 361
| After you did install Visual Studio, and Extract the rar File, you should have a Folder called Localize SimPe on your Harddisk.
Open that Folder and doubnleclick on the Solution File (SimPe Localization.sln). |
| Emily | posted: Wed Jul 13, 2005 3:48 pm | |
Member since: 2006-04-17 Posts: 361
| After VS did load, you will see a List of available Resources. Basically there are two diffrent kinds of Resources:
- Form Resources: Which contain complete Dialog Data. This is where you will translate the Dialogs of SimPE
- Text Resources: They contain Texts, that are used within SimPE outside of a normal Dialog (like in Message Boxes, or Lists...)
When you want to Edit a Dialog, you simply double click on the Form Resource Icon, In order to edit the Text Resources, you have to double click on the resx.File |
| Emily | posted: Wed Jul 13, 2005 3:56 pm | |
Member since: 2006-04-17 Posts: 361
| No, lets Translate one sample Dialog. We will use the Elements2 Dialog (which contains the Screens for the NREF and CPF Plugins). So First of all double click on the Elements2 Form Resource.
No select the Properties Tab and click on the Dialog Caption.
Now choose the Language you want to edit from the Language Selection. VS will create a new resx File for the selected Language, which might take a while. |
| Emily | posted: Wed Jul 13, 2005 4:02 pm | |
Member since: 2006-04-17 Posts: 361
| A Dialog contains several Controls, like Buttons, Labels... Most of the have a Text Property, which needs to be Translated.
In order to do so, click on the Control you want to Translate (in the Example, that is a Button), and search for the Text-Property in the PropertyGrid.
Now just Enter a new String in the Text Field, that's it. :) You have officially translated the First Control.
Sometimes it happens, that the translated Text is longer than the original one, that means you have to move and size the Control too. You can move it by simply Draging the Control, and Size it, by clicking on the Control Points and Drag them around. |
| Emily | posted: Wed Jul 13, 2005 4:05 pm | |
Member since: 2006-04-17 Posts: 361
| Translating the Text Resources is quite Easy, double click on the resx File of the Text Resource, and a simple String Editor will pop up.
Now you can edit the Strings in the Value Column. |
| Emily | posted: Wed Jul 13, 2005 4:07 pm | |
Member since: 2006-04-17 Posts: 361
| When you are done Translating, you need to save your Changes, by clicking on File->Save All.
When you Translation is complete, just pack up all the resx Files, and send them to me, emily@ambertation.de.
Thanks for your help. :) If you have any Questions, please post them in this Thread. |