[Translators] Howto build an NLS-claws-mail

Slavko slavino at slavino.sk
Thu Jun 9 17:26:13 CEST 2016


Ahoj,

Dňa Thu, 9 Jun 2016 13:23:52 +0200 "Erik P. Olsen" <epodata at gmail.com>
napísal:

> On 2016-06-09 at 11:45:31 Paul wrote:
> 
> > On Thu, 9 Jun 2016 12:27:41 +0200
> > "Erik P. Olsen" <epodata at gmail.com> wrote: 
> > 
> > > I can assure you that the system is configured to Danish. The
> > > variable $LANGUAGE was not set and setting it to da didn't
> > > accomplish anything, still Danish, but perhaps you ment to
> > > recompile claws-mail not to launch it.
> > > 
> > > Next thing to do: I'll remove all files related to claws-mail and
> > > do a new compile from scratch following whatever advice I have got
> > > so far. It shouldn't be that difficult to make CM understand
> > > Danish.  
> > 
> > Probably your translation has not be installed, (or built). You
> > should have this file after installing, (that's with the default
> > --prefix=/usr/local, you might have chosen something else):
> 
> I've used both default and --prefix=/usr
> > 
> > /usr/local/share/locale/da/LC_MESSAGES/claws-mail.mo
> 

You can compile the .mo file from .po by hand:

msgfmt da.po -o claws-mail.mo

then move/copy it to the appropriate place, eg.:

mv claws-mail.mo /usr/share/locale/da/LC_MESSAGES/claws-mail.mo

The locale settings you can show by locale command, eg.:

locale
LANG=sk_SK.utf8
LC_CTYPE="sk_SK.utf8"
LC_NUMERIC="sk_SK.utf8"
LC_TIME="sk_SK.utf8"
LC_COLLATE=POSIX
LC_MONETARY="sk_SK.utf8"
LC_MESSAGES="sk_SK.utf8"
LC_PAPER="sk_SK.utf8"
LC_NAME="sk_SK.utf8"
LC_ADDRESS="sk_SK.utf8"
LC_TELEPHONE="sk_SK.utf8"
LC_MEASUREMENT="sk_SK.utf8"
LC_IDENTIFICATION="sk_SK.utf8"
LC_ALL=

(replace sk_SK by your locale code)

Beware, (in short) there can be different names of your locale, see here
my LANGUAGE variable:

echo $LANGUAGE
sk:cs

I have "sk" here, and not "sk_SK" as in locale output.

regards


-- 
s pozdravom

Slavko
http://slavino.sk

Týmto emailom NEvyjadrujem súhlas so zaradením do akéhokoľvek zoznamu na
posielanie akýchkoľvek dodatočných informácií o Vašich produktoch!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digit��lny podpis OpenPGP
URL: <http://lists.claws-mail.org/pipermail/translators/attachments/20160609/aaa93d8d/attachment-0001.sig>


More information about the Translators mailing list