Hi Stefan, looks like something is broken on your system with gettext and/or Apache/PHP.
How do you integrate PHP with Apache, module or via FastCGI? I can do some additional checks next week with the current Debian stable release. Best regards Roland Am 16. September 2019 17:59:25 MESZ schrieb "[email protected]" <[email protected]>: >Hi Roland, >lam 6.9 RC1 is installed and the config file. >I chose the language Cestina (Cesko) in the login window "LAM Login". >The >following error message appears in journalctl -f: >... >Sep 16 17:43:46 dsme01 php[21227]: LDAP Account Manager >(72hsjipl5ksiljckdj76mlppd0 - 192.168.30.67 - ) - WARNING: Unable to >set >locale, check if 'locale -a' returns cs_CZ.utf8 >... >If I select German in the login window, no error message appears. Not >in >the journalctl nor in the Apache Error Log. >I just do not understand it anymore. >Here my locale -a >... >root@dsme01:~# locale -a >C >C.UTF-8 >de_DE.utf8 >en_US.utf8 >POSIX >... >I'm about to uninstall the LDAP account manager. >Greetings from Stefan Harbich > > > >-----Original-Nachricht----- >Betreff: Re: [Lam-public] German language in the WebUI >Datum: 2019-09-13T21:24:46+0200 >Von: "Roland Gruber" <[email protected]> >An: "[email protected]" ><[email protected]> > > > >Hi Stefan, >please download >https://raw.githubusercontent.com/LDAPAccountManager/lam/develop/lam/lib/config.inc ><https://raw.githubusercontent.com/LDAPAccountManager/lam/develop/lam/lib/config.inc> >and replace >/usr/share/ldap-account-manager/lib/config.inc >with it (requires LAM 6.9.RC1). >This will set additional language related variables and also log >warnings >if setting the language failed. >https://www.ldap-account-manager.org/static/doc/manual/ch03.html#conf_logging ><https://www.ldap-account-manager.org/static/doc/manual/ch03.html#conf_logging> >Try with German but also with an unsupported language on your system >(e.g. >French). Watch out for messages with "check if 'locale -a' returns". >If it still fails the log output might help to find the issue. > >Best regards >Roland > >Am 13.09.19 um 11:31 schrieb Stefan Harbich: > >Hi Roland,i installed the Apache Server from the Debian Package >Source....root@dsme01:~# >localeLANG=de_DE.UTF-8LANGUAGE=LC_CTYPE="de_DE.UTF-8"LC_NUMERIC="de_DE.UTF-8"LC_TIME="de_DE.UTF-8"LC_COLLATE="de_DE.UTF-8"LC_MONETARY="de_DE.UTF-8"LC_MESSAGES="de_DE.UTF-8"LC_PAPER="de_DE.UTF-8"LC_NAME="de_DE.UTF-8"LC_ADDRESS="de_DE.UTF-8"LC_TELEPHONE="de_DE.UTF-8"LC_MEASUREMENT="de_DE.UTF-8"LC_IDENTIFICATION="de_DE.UTF-8"LC_ALL=root@dsme01:~# >dpkg -l >apache2Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig >Löschen/Halten| Status=Nicht/Installiert/Config/U=Entpackt/halb >konFiguriert/ Halb installiert/Trigger erWartet/Trigger anhängig|/ >Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: >GROSS=schlecht)||/ Name Version Architektur >Beschreibung+++-==============-================-============-=================================ii >apache2 2.4.38-3+deb10u1 amd64 Apache HTTP >Serverroot@dsme01:~#...Greetings from Stefan Harbich Am 12.09.2019 >21:20 schrieb Roland Gruber <[email protected]> ><mailto:[email protected]>: Hi Stefan, did you compile Apache >yourself or do you use some Linux distribution? LAM uses gettext to >translate the GUI. Best regards Roland Am 12.09.19 um 09:35 schrieb >Stefan Harbich: Hello, Roland. that says locale -a. C C.UTF-8 >de_DE.utf8 en_US.utf8 POSIX Greetings from Stefan Harbich Am 12.09.2019 >09:19 schrieb Roland Gruber<[email protected]> > <mailto:[email protected]> <mailto:[email protected]> ><mailto:[email protected]>: Hi Stefan, please check "locale -a" on >your server. Maybe the de_DE.utf8 locale is not installed. Then the >webserver cannot activate the translation. Best regards Roland Am >11.09.19 um 22:41 schrieb Stefan Harbich: Hello. I just posted the ldap >account manager directory of /usr/share to the /var/www/html directory. >I have all web directories on /var/www/html. Greetings from Stefan >Harbich Am 11.09.2019 22:34 schrieb Stefan >Harbich<[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> ><mailto:[email protected]>: Hello, i changed the entry to de_DE.utf8 >in the lam.conf. This is also used in the LAM configuration under Edit >server profiles under Language settings, Default language "German >(Germany)". After the Login, i see everything in English. Greetings >from Stefan Am 11.09.2019 21:42 schrieb Roland >Gruber<[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> ><mailto:[email protected]>: Hi Stefan, there is no de_US translation >in LAM. It is de_DE.utf.8. Looks like you modified the config file >manually. Please use LAM's GUI instead. Best regards Roland Am 11.09.19 >um 19:38 schrieb Stefan Harbich: Hello. I checked that out first. The >language settings are set in German. Greetings from Stefan Harbich Am >11.09.2019 11:49 schrieb Juergen >Holm<[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]>: Hi, may be you should >check your language settings of your browser. In Firefox: Preferences >-> General -> Language -- Mit freundlichen Grüßen ##------------ IT >Physik / Georg August Universitaet Goettingen ---------- ## Tel: +49 >551 399363http://www.theorie.physik.uni-goettingen.de/jh.html ## ## >Rechtschreibfehler sind Absicht und dienen der allgemeinen Belustigung. >##-------------- Verschtehen Sie, Isch habe garrr kein Wooerd! >----------- On Wed, 11 Sep 2019,[email protected] > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> > <mailto:[email protected]> <mailto:[email protected]> ><mailto:[email protected]> wrote: > Hello, > Iido not get the German >language in the WebUI. The following is set in the > "lam.conf" file: > >... > defaultLanguage: de_US.utf8 > ... > My locale -a says the >following: > ... > C > C.UTF-8 > de_DE.utf8 > en_US.utf8 > POSIX > ... >> Why do not I get the German language displayed in the WebUI? > >versions > Debian Buster Linux dsme01 4.9.0-8-amd64 # 1 SMP Debian >4.9.144-3.1 ( > 2019-02-19) x86_64 GNU / Linux > Ldap Account Manager >6.8-1 > Greetings from Stefan Harbich > >_______________________________________________ Lam-public mailing list >[email protected] ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> >https://lists.sourceforge.net/lists/listinfo/lam-public ><https://lists.sourceforge.net/lists/listinfo/lam-public> >_______________________________________________ Lam-public mailing list >[email protected] ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> >https://lists.sourceforge.net/lists/listinfo/lam-public ><https://lists.sourceforge.net/lists/listinfo/lam-public> >_______________________________________________ Lam-public mailing list >[email protected] ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> >https://lists.sourceforge.net/lists/listinfo/lam-public ><https://lists.sourceforge.net/lists/listinfo/lam-public> >_______________________________________________ Lam-public mailing list >[email protected] ><mailto:[email protected]> ><mailto:[email protected]> ><mailto:[email protected]> >https://lists.sourceforge.net/lists/listinfo/lam-public > <https://lists.sourceforge.net/lists/listinfo/lam-public> > > > >_______________________________________________Lam-public mailing >[email protected] ><mailto:[email protected]>https://lists.sourceforge.net/lists/listinfo/lam-public > <https://lists.sourceforge.net/lists/listinfo/lam-public> > >
_______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
