Hi Rafat,
so here is content of my installed_language.inc
installed_language wrote:<?php
/* How to make new entries here for non-packaged languages:
-- 'code' should match the name of the directory for the language under \lang
.-- 'name' is the name that will be displayed in the language selection list (in Users and Display Setup)
-- 'rtl' only needs to be set for right-to-left languages like Arabic and Hebrew
-- 'encoding' used in translation file
-- 'version' always set to '' for manually installed languages.
-- 'path' installation path related to FA root (e.g. 'lang/en_US').
*/
$installed_languages = array (
0 =>
array (
'code' => 'C',
'name' => 'English',
'encoding' => 'iso-8859-1',
),
1 =>
array (
'code' => 'en_US',
'name' => 'Indo',
'path' => 'lang/en_US',
'encoding' => 'iso-8859-1',
'rtl' => false,
'package' => '',
'version' => '',
),
2 =>
array (
'name' => 'Indonesian',
'package' => 'id_ID',
'code' => 'id_ID',
'encoding' => 'utf-8',
'version' => '2.4.1-3',
'path' => 'lang/id_ID',
),
);
$dflt_lang = 'id_ID';
location of .po and.mo files is in each language folder
/var/www/html/FA/lang/id_ID/LC_MESSAGES
/var/www/html/FA/lang/en_US/LC_MESSAGES
Linux version ubuntu 18.04 LTS
Hi Notrinos,
Try to put the dejavusans (.php, .z, .ctg.z) and dejavusanb (.php, .z, .ctg.z) files on reporting/fonts then choose Indonesia as the language when opening the invoice it returns TCPDF error: Could not include font definition file: dejavusans.php
try tp change the line 160 of class.pdf.inc with dejavusansb it return the same error,
if i set to Indo it works, translated correctly with bold text, but the menu and sub menu still in english.