NavigationUser loginWho's new
Who's onlineThere are currently 0 users and 71 guests online.
|
MetaTrader speaks your language - Part 2Hi folks, In the previous article we knew that MetaTrader could speak our tongue language, which means we can add our own language to the languages list of MetaTrader interface. Today we are going to know everything about editing/adding languages using the MLP program. How to edit a language?Editing a language is a rare task because you rarely find a mistake in the translation of the shipped with MetaTrader language list. Note: We are going to work only with the terminal project (terminal.prl) and every concept you'll learn here is a suitable for the other projects (MetaEditor.prl and LiveUpdate.prl). Let's say we want to edit the terminal string ID 5017 which telling us the message "Account disabled" which in Spanish must to be "Cuenta desactivada". But wait! what the terminal string means? In terminal project you can work with three categories of interfaces: Strings: Menu: Dialog: You find these three categories as trees under each language tree (Figure 3). Now we can edit the string ID 5017 in the Spanish translation by going to Strings in the left tab and find the string ID 5017 in the right tab then we have to double click the text to edit it (Figure 4). Please notice in figure 4 the little tool tip above the text editor field that gives you the English translation! That's really cool! Saving and Compiling the project:You have to save the changes to the project by going to File menu and choose Save Project (or hit CTRL+S hot keys) and that enables you to load the project in the next time with the changes you have made. But the changes you have made hadn't effect the MetaTrader interface yet, you have to Compile the project to make the changes take place. To compile the project you can Click the Compile button on the toolbar (Figure 5), hitting CTRL+F9 hotkeys or you can access the same action from the Tools menu where you'll find Compile Project command. The MLP program will compile you project and showing you this message box (Figure 6) telling you that everything is OK.
|