Sam,

The output language of hammer depends on your locale set in the operating
system.

i.e.
$ export LANG=fr_CA.utf8
$ hammer host list
---|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
ID | NOM                                | SYSTèME D'EXPLOITATION | GROUPE
D'HôTES | IP            | MAC               | CONTENT VIEW              |
LIFECYCLE ENVIRONMENT
---|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
2  | akofink-desktop.usersys.redhat.com | Fedora 25              |
       | 192.168.1.100 | 64:00:6a:6f:2a:f4 | Default Organization View |
Library
---|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
$ export LANG=en_US.utf8
$ hammer host list
---|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------
ID | NAME                               | OPERATING SYSTEM | HOST GROUP |
IP            | MAC               | CONTENT VIEW              | LIFECYCLE
ENVIRONMENT
---|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------
2  | akofink-desktop.usersys.redhat.com | Fedora 25        |            |
192.168.1.100 | 64:00:6a:6f:2a:f4 | Default Organization View | Library

---|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------


Regards,
Andrew

On Wed, Feb 8, 2017 at 4:05 AM, Sam Amara <[email protected]> wrote:

> Hello,
>
> I use hammer to get informations for hosts created.
> But when I launch for example this command:
>
> hammer host info --name <host.domain.com>
>
> The output is in french language and i want it to be in english.
>
> Thanks for your help,
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew Kofink
[email protected]
IRC: akofink
Associate Software Engineer
Red Hat Satellite

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to