Topic: German Language after migration from Windows IIS to Ubuntu 20.04LTS

Hi there,

First of all: many thanks for this piece of software which is really great!

I have an issue after migrating from Win to Ubuntu - the german language pack, although being activated hasn't any effect. Everything remains in english.

Ubuntu itself is in german.

DB Coalation is in uft8_bin . Could that be the root cause of the issue and if so, what would be the proper setup in MariaDB?

Server-Version: 10.3.25-MariaDB-0ubuntu0.20.04.1 - Ubuntu 20.04
libmysql - mysqlnd 7.4.3
Apache/2.4.41 (Ubuntu)


Cheers,
Gabriel

Re: German Language after migration from Windows IIS to Ubuntu 20.04LTS

https://frontaccounting.com/fawiki/index.php?n=Help.InstallUpdateLanugages
Should be a good starting point.

Re: German Language after migration from Windows IIS to Ubuntu 20.04LTS

Probably you need to add locale to your Ubuntu pc. Add locale to Ubuntu - Kvcodes .

4 (edited by gabriel.hauser 05/03/2021 06:45:17 pm)

Re: German Language after migration from Windows IIS to Ubuntu 20.04LTS

Thx.
Did that, without any effect.

See the result:

locale -a

de_DE
de_DE.iso88591
de_DE.utf8
de_IT.utf8
de_LI.utf8
de_LU.utf8
deutsch
(...)
among others

No effect on the frontend...

5 (edited by rafat 05/04/2021 05:00:31 am)

Re: German Language after migration from Windows IIS to Ubuntu 20.04LTS

Make sure

../lang/de_DE/LC_MESSAGES/de_DE-2.4.1-3.mo or similar exists and has read access and is equal to installed_languages.inc 'version' parameter (without the .mo extension.)

I run 3 Languages without a hitch - English, Arabic and German.. this is the content of my.. /lang/installed_languages.inc


$installed_languages = array (
  0 =>
  array (
    'code' => 'C',
    'name' => 'English',
    'encoding' => 'iso-8859-1',
  ),
  1 =>
  array (
    'name' => 'Arabic',
    'package' => 'ar_EG',
    'code' => 'ar_EG',
    'encoding' => 'utf-8',
    'version' => '2.4.1-3',
    'path' => 'lang/ar_EG',
    'rtl' => true,
  ),
  2 =>
  array (
    'name' => 'German',
    'package' => 'de_DE',
    'code' => 'de_DE',
    'encoding' => 'iso-8859-1',
    'version' => '2.4.1-3',
    'path' => 'lang/de_DE',
  ),
);

$dflt_lang = 'C';

Of course Languages are chosen from Preferences-->Language

Re: German Language after migration from Windows IIS to Ubuntu 20.04LTS

gabriel.hauser wrote:

Thx.
Did that, without any effect.

See the result:

locale -a

de_DE
de_DE.iso88591
de_DE.utf8
de_IT.utf8
de_LI.utf8
de_LU.utf8
deutsch
(...)
among others

No effect on the frontend...

Did you restart your apache or machine to take effect.  Actually it will work. But sometimes not immediately. Try to check other languages like Arabic  and even Tamil too.  And than  set German again .  It might refresh to take effect.