Bug 19464 - Falscher Sprachcode wird an univention-console-frontend.py übergeben
Falscher Sprachcode wird an univention-console-frontend.py übergeben
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UNSTABLE
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-16 12:06 CEST by Sönke Schwardt-Krummrich
Modified: 2013-02-19 08:01 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2010-08-16 12:06:35 CEST
Es wird immer im syslog folgende Meldung ausgegeben, wobei die Sprache aber korrekt gesetzt wird:

Aug 16 06:26:00 kvm python2.4: univention-console-frontend.py: specified locale
is not available (cmdline: de)

Ursache scheint conffiles/usr/share/univention-management-console/www/config.php zu sein:

if baseConfig.has_key('umc/web/language'):
	lang = baseConfig['umc/web/language']
	if lang.find( '_' ) > -1:
		lang = '-l %s' % lang[ : lang.find( '_' ) ]
	else:
		lang = '-l %s' % lang
else:
	lang='-l de_DE.utf8'


Es wird immer "-l de" an univention-console-frontend.py übergeben. Da dieser Wert ungültig ist, wird obige Meldung ausgegeben und auf umc/web/language zurückgefallen.
Comment 1 Stefan Gohmann univentionstaff 2013-02-19 08:01:43 CET
Gibt es in UCS 3 nicht mehr.