en_AU.UTF-8 locale

Hello! I’m configuring up a development server running OpenSUSE 12.3 which I’ve built through SuSE Studio. I’m trying to set the locale to en_AU.UTF-8 but there’s no option in the languages section of yast for Australia, and when I look /etc/sysconfig/language it’s not listed anywhere and adding it to the LANG environment variable doesn’t seem to change it. How do I generate this locale?

go to

Yast > System > Languages > Details

and select en_AU from there.

SUSE Paste

Thanks for that, but that select is empty in my installation. Is there a package I need to install to populate it?

SUSE Paste

Try to set your primary language to “English (US)” in the standard language settings. You should then be able to select all english variants in “Details”, including en_AU.
At least that worked on my (german) system… :wink:

That didn’t work either. When I set the primary language to US it only gives me the en_US option, if I switch it to English UK it only has the en_GB option. Still nothing for Australia. I have to be missing something simple, this is ridiculous.

Works for me [openSUSE 12.3 (x86_64) KDE 4.10.5, US keyboard, primary language en_UK, Country Australia].

Thanks farcusnz - I had ‘forgotten’ where to set this.

I’ve got no GUI on this (server), but here’s some screenshots of yast on command line:

SUSE Paste
SUSE Paste
SUSE Paste

On 2013-09-23 02:16, mmagin wrote:
>
> I’ve got no GUI on this (server), but here’s some screenshots of yast on
> command line:

You know you can run the full graphical yast from a client machine X
session, right? Just in case yast is different.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I didn’t know that, no. How? All I can find with regards to using yast remotely is enabling VNC access.

Either way this should still work in the CLI yast and if it doesn’t I’d like to submit a bug report, but I don’t want to do that until I’m sure I’ve exhausted all options.

for me - using CLI all the choices are there, so I don’t think that is your problem (although I didn’t check it remotely).

My install is just the default KDE install (64bit) - I didn’t need to install any packages to have a choice of different locales.

Yeah, I think there’s a package I’m going to need to install but I can’t find what it would be.

Yes, same here:
http://wstaw.org/m/2013/09/23/lang.png

Well, AFAICS yast uses this to get the list of languages:

/usr/bin/locale -a

So what does that give you when you run it in a terminal?

Btw, if I remove /usr/bin/locale, I do get an empty list like you (with just the current primary language).
But /usr/bin/locale is contained in the package “glibc”, I somehow doubt that you’re missing that… :wink:

Edit:
/usr/bin/locale seems to take the list from /usr/share/i18n/locales/ which is contained in the package “glibc-i18ndata”.
Do you have that installed?

Did not have that one installed, good start. I have now got it installed and /usr/share/i18n/locales/ is populated with a whole bunch, including en_AU.

Unfortunately we’re not quite there.

webdev-1:~ # locale -alocale: Cannot set LC_CTYPE to default locale: No such file or directory
C
POSIX

So how do I get locale to recognise that these locales have installed? I know in other distributions I’ve had to play with locale-gen but that doesn’t seem to exist under suse.

Thanks for the help so far.

And how about glibc-locale? This contains the /usr/lib/locale/ hierarchy.
By removing that I can reproduce your YaST problem, and locale gives me:

# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX

On 2013-09-23 03:36, mmagin wrote:
>
> robin_listas;2586930 Wrote:

>> You know you can run the full graphical yast from a client machine X
>> session, right? Just in case yast is different.

> I didn’t know that, no. How? All I can find with regards to using yast
> remotely is enabling VNC access.

Ok. On the client machine, on a terminal, you run:


ssh -Y  serverusername@servername_orIP

Like:


cer@Telcontar:~> ssh -Y cer@AmonLanc.valinor
Password:
Last login: Mon Sep 23 22:18:04 2013 from telcontar.valinor
Have a lot of fun...
cer@AmonLanc:~>

And then you get a terminal session on the remote machine. But you can
run any graphical program and it will show on your client - it runs on
one machine and displays on another. The typical example is “eyes”, but
for example


AmonLanc:~ # yast2  &
[1] 14816
AmonLanc:~ #

runs yast.

The server does not need to run a graphical session, just some of the
graphical libraries and tools. In my case, I install my server type
machines with X, but not gnome nor kde, but xfce or lxde. Even if it
always boots in text mode, the toolset is available if needed.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-09-23 10:26, wolfi323 wrote:

>
> mmagin;2586987 Wrote:

>> Thanks for the help so far.
> And how about glibc-locale? This contains the /usr/lib/locale/
> hierarchy.

Just a guess, mmagin. Did you install the “minimal” pattern on that
machine? The “minimal” pattern is excessively spartane, it lacks lots of
things that are in fact needed.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Crazy. glibc-locale was installed, I installed that before I posted here. I removed it and reinstalled and now it’s all there. I guess glibc-locale and glibc-i18ndata work together, and the latter needs to be installed first.

This has solved the problem, thanks very much.

It’s a Jeos I built in SuSE Studio. I’m building a template for our developers to deploy in the VMware environment and studio’s fantastic for it.

Right, sorry, I did know of the client/server model of X. I thought you meant there was something like a yast daemon.

On 2013-09-24 00:56, mmagin wrote:
> > Right, sorry, I did know of the client/server model of X. I thought you meant there was something like a yast daemon.

Oh. I thought it strange you did not know about X client server arch :slight_smile:

As a matter of fact, there is also a yast daemon: it is called webyast.
I’ve never used it personally, so I can’t advise you how to set it up.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)