Introduction
The main point is that you need to translate some files, used in r_keeper 7, which contain message lines, item and section names, etc.
System Description
The translated files are created with an XXX extension which is a three-letter English abbreviation of your language (as accepted by Windows).
Attention
If you do not know the three letter abbreviation please visit http://www.microsoft.com/globaldev/reference/winxp/langtla.mspx
ХХХ is the result returned by the Windows GetLocateInfo (language, LOCALE_SABBREVLANGNAME, ...) function.
- Files for translation
RefSrv.RUS / RefSrv.ENG (in a standard delivery)
Rk7man.RUS (in a standard delivery)
MidServ.RUS (in a standard delivery)
RK7CASH.RUS (in a standard delivery)
Upgrade.XXX (generated manually after RefSrv.XXX has been fully translated).
- Langer.exe
The *.XXX files are generated and translated using the Langer.exe app. Each file is displayed in this app as a simple table.
The main thing is to set the alphabet right. The keyboard layout is set by pressing the Keyboard button (if the system keyboard has been properly set up). Add lines in your language in the Translate column.
Attention
There is no need to translate the Formatted Lines – they contain such fragments as %d and %s. This is important for checking the order and the number of such fragments. If you want to relocate the fragments you need to designate the indexes.
For example,
Element %s was not found in collection %s à Element “Cake” was not found in collection “Food"
In collection “%1:s” element “%0:s” was not found -à In collection “Food” element “Cake” was not found.
- Upgrade.XXX
You need to create upgrade.XXX manually.
Then you need to fully translate RefSrv.RUS / RefSrv.ENG, locate them in BIN/WIN and set up the rk7srv.ini file:
[REFSERVER]
Server=ref_serv
UDBFILE=..\..\base\rk7.udb
MainLang=.\RefSrv.XXX
AltLang=.\RefSrv.ENG
WorkModules=..\..\base\workmods
UpgadeAnyTime=1
Then place upgrade.udb into a folder with the database (it is usually the BASE folder), launch the directory server and create the rk7.udb empty file. The
upgrade.XXX file will appear in the BASE folder. It should be translated in an ordinary way as other files.
Note: Your upgrade.XXX will be created with fields in English which you need to translate into your language. If you want to translate from Russian instead of English then in rk7srv.ini set parameter 1 asUpgradeTranslateRussian=1.
- Using the Translated Files
4.1. Directory Server (Refserver)
As was said above, in rk7srv.ini you need to set the MainLang parameter and simultaneously select UpgradeAnyTime=1.
1. Place upgrade.udb into the database file (BASE file).
2. Launch the directory server – a file with translated preset values upgrade.XXX will be created.
3. Translate the newly created upgrade.XXX
4. Relaunch the directory server, and the preset values will be translated.
5. Reset the zero value for the UpgradeAnyTime=0 parameter in rk7srv.ini (if UpgradeTranslateRussian=1, then assign it a 0 as well). For clients simply place upgrade.XXX next to upgrade.udb.
4.2. Manager Station
Place the rk7man.XXX file into the BIN/WIN folder.
After launching the manager's station select a language: User --> Language --> Select Language.
4.3. Cash Register Server (Midserver)
Place the MidServ.XXX file into BIN/WIN and enter the launch language in the RKEEPER.INI file.
[Config]
Client = CASH_SERV
RefServer = REF_SERV
BasePath = ..\..\MIDBASE
TwoFilesMode=1
StartLang=.\MidServ.XXX
Then launch the cash register server in a usual mode.
4.4. POS Station
Place your newly translated Rk7Cash.XXX file into the Localize file (in the POS station).
- Additional Translation
5.1. Forms
If there are any untranslated symbols at the POS station, please make sure that the Auto Translation property for the used forms is on. (Settings -> Graphic Interface -> Forms -> Form Properties -> Auto Translation -> tick).
5.2. Printing Documents (Receipts, Reports, Bills, etc.)
On the manager's station go to Settings -> Print -> Documents and Layouts.
Copy and paste the preset layout and open it for editing. Translate all of its fields. Make sure to make the layout active.
Then go to Settings -> Print -> Print Schemes and add the layout to the print scheme.