Bug 14784

Summary: Kudzu isn't locale aware even translations exists (from i18n robot)
Product: [Retired] Red Hat Linux Reporter: Milan Kerslager <milan.kerslager>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-28 09:29:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to enable locale translations (5 lines of code) none

Description Milan Kerslager 2000-07-28 08:48:37 UTC
There are tree bugs:

1) locale isn't called at the begginnig of the program
2) variable CATALOGS in po/Makefile is commented out
3) SPEC file doesn't include .mo files in /usr/share/locale/*/*/*

Without this, traslator's work is for...

Patch for 1) and 2) [5 lines of code] submited below.

Comment 1 Milan Kerslager 2000-07-28 08:50:17 UTC
Created attachment 1636 [details]
Patch to enable locale translations (5 lines of code)

Comment 2 Milan Kerslager 2000-07-28 09:28:59 UTC
During startup there is no $LANG or some other variable so kudzu pop-up in
english language only. The safest way is to include '. /etc/profile.d/lang.sh'
at the begginnig of the /etc/init.d/kudzu script. This script (lang.sh) is safe
and do the 'export' stuff exactly only for the needed variables.

I do not recommned to set up locale variables to master script (eg.
/etc/rc.d/rc) because there may be some side effect... 



Comment 3 Bill Nottingham 2000-07-28 15:44:17 UTC
This will be fixed in kudzu-0.57-1. Thanks for the
patch!