How to add a new language without recompiling.
Beigesoft™ EIS uses TTF fonts DejaVuSerif-Bold.ttf and DejaVuSerif.ttf that contain many languages. For other languages you should add a TTF file into the Java archive file (see below). Asian free TTF fonts you can find in:
Java files are placed in a JAR file, that is actually a ZIP archive. JAR, WAR and APK are ZIP archives. All you should do is:
extract all files with folders (tree structure) from a JAR/WAR into a folder e.g. "foo"
add a new basic static internationalization - i.e. a i18n.properties file, e.g. /resources/Messages_fr_FR.properties for France language, just copy the file Messages_en_US.properties into the new Messages_fr_FR-UTF8.properties, the edit it with an UTF-8 editor, then encode it into ASCII by this command: native2ascii -encoding UTF-8 Messages_fr_FR-UTF8.properties Messages_fr_FR.properties.
add a language and a country codes into the langCountries in the web.xml, e.g. en,US,ru,RU,fr,FR
remove digital signatures - e.g. foo/META-INF/BEIGESOF.RSA and BEIGESOF.SF
if it's need, add new TTF fonts into the fonts folder
make the JAR/WAR file by the jar utility, e.g. run outside of "foo" folder: "jar cvfm beige-eis.jar foo/META-INF/MANIFEST.MF -C foo/ ."
First, add a new "language", a "country" and a "language preferences", then push the "refresh languages settings", then refresh the page. Then add goods/services/etc. names in the new language.
To use another TTF file, set its name without extension in the "Accounting settings"-"TTF font", for example "VL-Gothic-Regular" (if there is no another Bold TTF, then leave that field "TTF font bold" empty!). Example of partially internationalized invoice with "VL-Gothic-Regular.ttf"
If you set the "Accounting settings"-"page size" to the "Letter", then you have to set the "page margins" and the "font size" in inches, otherwise (default A4) use millimeters. Default font size 3.5 millimeters equals 0.1378 inch.