[katello-devel] CLI client and locale

Lukas Zapletal lzap at redhat.com
Fri May 20 12:28:21 UTC 2011


Hello,

I am just curious what are the plans about CLI and locale. My intuition 
tells me the CLI should send user's current locale in the headers and 
our API controller should parse the header just like UI controller do. 
The locale should be set properly and gettext should then translate 
everything (e.g. error messages).

So the result would be:

LC_ALL=en katello some bad command
Fatal error - cannot be done !!!

LC_ALL=jp katello some bad command
組織の隣にあるボ - ックスをオンにして信頼を追 !!!

Comments?

PS - Well I was cheating. Cannot speak Japanese. I pasted this from a 
bugreport [*] without a clue what does it mean :-)

[*] - https://bugzilla.redhat.com/show_bug.cgi?id=706318

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list