Using localization in the CASHFRONT program for small businesses.
This is a translation and cultural adaptation of the product to the characteristics of a particular country, region or population group (Wikipedia).
For software, the localization process comes down to translation.
The new product has the ability to change the interface in terms of menu text, buttons, labels and other text elements of the user interface. This gives many opportunities both in adapting the program for any language, and in customizing the program for a specific task.
For example, you need to install the program in a catering facility where visitors are seated at tables, the tables are numbered, and accordingly there is a reservation with subsequent payment (a classic example of a restaurant).
To implement this algorithm, we will make a decision that the table number will be executed by the customer directory where we create the "tables" group, and enter data about the existing tables of the establishment:
Next, we need to provide a convenient interface to the bartender or administrator for accepting orders and paying. We perform the following steps:
1. We go into the settings and create a new user, for example, "BARMEN", and set this user permission to REVIEW CUSTOMERS: the value is "REVIEW ONLY".
2. We proceed to editing the inscriptions of the program. Label values are in the file "C:\ProgramData\CashFront.SQL\lang.ini", which is a plain text file in which the values correspond to a key.
We open this file using notepad, or Notepad ++ (more convenient): at the beginning of the file, the [CONTENT] block, the languages used in the program are defined. Further, each language is placed in its own block, which begins with a language tag (for example: [UK]). By clicking on +/- we collapse/expand the desired language block, and there we look for the necessary "keys".
We find the lines by the key and change the values to ours:
|CHOOSE THE CLIENT|| |
ВИБРАТИ КЛІЄНТА|VCR||VLF||VLS|Left Shift|VRS|
|ADD THE GOODS|| |
ДОДАТИ ТОВАР|VCR||VLF||VLS|Right Shift|VRS|
|REMOVE THE GOODS|| |
Your modified file lang.ini be sure to save it as a copy in another location other than the C:\ProgramData\CashFront.SQL\lang.ini.
When you upgrade, it is replaced by the standard. After the update, you can copy your file to C:\ProgramData\CashFront.SQL\ and your changes will be restored.
Restart the program and control changes:
The bartender clicks on the "select table" button and enters the customer directory, where we created the "Tables" group and selects the desired table there:
Thus it is possible to edit other interface elements in accordance with the purpose.