devcode-it / openstamanager

Il software gestionale open source per l'assistenza tecnica e la fatturazione
https://www.openstamanager.com
GNU General Public License v3.0
109 stars 68 forks source link

English Language #717

Closed GaneshKandu closed 4 years ago

GaneshKandu commented 4 years ago

Hi,

How can i install OpenSTAManager with default English language ?

Dasc3er commented 4 years ago

Hi, during the configuration process at the beginning you should be able to select the language for the software (version >= 2.4.11). After that, the language is stored in the variable $lang inside the config.inc.php.

The translation is currently being worked on, so it may be a bit off on the correct terms, and you should be advised that the software is defined to work with the Italian regulations (for example, the Italian Electronic Bill system).

For any questions you may have we'll try our best to answer, and if you are interested in contributing you are more than welcome!

GaneshKandu commented 4 years ago

Language is stored in the variable $lang inside the config.inc.php is en_GB

// Personalizzazione dei gestori dei tag personalizzati
$HTMLWrapper = null;
$HTMLHandlers = [];
$HTMLManagers = [];

// Lingua del progetto (per la traduzione e la conversione numerica)
$lang = 'en_GB';
//$lang = 'it_IT';
// Personalizzazione della formattazione di timestamp, date e orari
$formatter = [
    'timestamp' => 'd/m/Y H:i',
    'date' => 'd/m/Y',
    'time' => 'H:i',
    'number' => [
        'decimals' => ',',
        'thousands' => '',
    ],
];

English language is not completely translated