Languages

Principio  Precedente  Seguente

Supported Languages

 

Problemist is a multilingual program which includes four main languages: English, French, Italian and Spanish. You can go from any of these languages to another, without leaving the program, via {File}{Languages}. The selection made will affect all of Problemist's menus and dialogs.

 

Problemist also includes an exclusive function allowing a standard text file containing all the texts necessary for the menus, dialogs and alert boxes used in the program to be created by users in order to customize the program to their own tastes. This opens the way for the creation of any number of different language versions. There are already 4 language patches available: Russian, German, Slovak and Polish.

 

In order to take advantage of this possibility, all you have to do is select {File}{Languages}>Other Language.... Making this selection calls up the file selector so that you can choose from among the available language resource files (these use the extender *.str). Just select the appropriate file and then click on [OK] to validate your choice. The changes should take effect immediately. This makes ready-made language resource files a snap to use.

 

These linguistic patches will be made available from http://www.Problemist.com as they are created. The main interest of this operation is, of course, that it allows users whose language is not supported by the program to create their own files.

 

Creating a Language Resource File

 

A language resource file is composed of two parts: the main menus and the internal text strings.

 

The menu items appear in the following manner (extract):

 

POPUP        "&File"        

BEGIN                

 MENUITEM        "&Open...\aF9"        101

 MENUITEM        "&Save...\aF8"        103

 MENUITEM        "&Close"        100

 MENUITEM SEPARATOR                

 [...]

 END                

 

The keywords shown in upper case characters must never be modified! You may make any changes you might wish between the double-quotes with the exception of the sequences preceded by a backslash (e.g. "\a", "\n"). Nor should you change the number shown at the end of the line after the comma. The "&" character should be placed just before the letter which, underlined in the resulting menu, will serve as the "hot key" for the related menu item.

 

The internal text strings take the following form (extract):

 

STR 50        "'%s' is not found. Restart from beginning ?"        

STR 51        "threat;waiting;But;Mate:;But Draw!; Mate in 1;"        

STR 52        "Solution:;Try:;Set Play:;No solution;"        

STR 53        "Searching solution;Search completed;Analyzing;User break;"        

STR 54        "Changed position;Dubious position;Invalid position;"        

STR 55        "Piece Box"        

 

As with the menus, you must never alter anything outside of the double-quotes!

 

Problemist is supplied with a template file based on the English version of the program (Model.str). You can use a copy of this file as a basis for your own modifications. You should proceed slowly at first, carefully checking your results with Problemist.

 

If you're satisfied with your translation of Problemist into a new language, you are, of course, welcome to send it to me as an attached file. I will be more than pleased to make it available to other interested users.

 

Problemist © 1993-2022 Matthieu Leschemelle - Made with Help & Manual