Discussion:
FVWM: LocalePath not working?
Michelle Konzack
2015-07-29 13:37:51 UTC
Permalink
I had and now I have in my "config"

LocalePath "$[FVWM_USERDIR]/locale;tdfvwm:/usr/share/locale;fvwm"

and the file

~/.fvwm/locale/de/tdfvwm.mo

but it is not recognized. The xsession-errors show not a singel error.

Any suggestions?

Thanks
Michelle

--
Michelle Konzack ITSystems
GNU/Linux Developer 0049-176-86004575
Thomas Funk
2015-07-29 21:39:17 UTC
Permalink
Michelle Konzack wrote:
> I had and now I have in my "config"
>
> LocalePath "$[FVWM_USERDIR]/locale;tdfvwm:/usr/share/locale;fvwm"
>
> and the file
>
> ~/.fvwm/locale/de/tdfvwm.mo
>
> but it is not recognized. The xsession-errors show not a singel error.
>
> Any suggestions?
>
> Thanks
> Michelle
>
You've forgotten LC_MESSAGES in your path:
~/.fvwm/locale/de/LC_MESSAGES/tdfvwm.mo

-- Thomas --

--
--
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein
Michelle Konzack
2015-07-30 07:03:07 UTC
Permalink
Good morning Thomas,

Am 2015-07-29 23:39:17 hackte Thomas Funk in die Tastatur:
> You've forgotten LC_MESSAGES in your path:
> ~/.fvwm/locale/de/LC_MESSAGES/tdfvwm.mo

Ahh, I was to long away from GNU/Linux and off-line...

However, it does not work for me...

Since the gettext tools can not read the fvwm configs by default, I had
to copy the strings by hand and maybe there is a locale/UTF8 problem,
because "msgfmt" complaint about wrong UTF8 sequences and I corrected it
manualy, but only 5 strings with german umlauts...

Do you know (or have) a tool or script, which get the $[gt.xxx] strings
automaticaly to create the "po" file?

Thanks
Michelle

--
Michelle Konzack ITSystems
GNU/Linux Developer 0049-176-86004575
Michelle Konzack
2015-07-30 09:49:32 UTC
Permalink
Hi again,

Am 2015-07-29 23:39:17 hackte Thomas Funk in die Tastatur:
> You've forgotten LC_MESSAGES in your path:
> ~/.fvwm/locale/de/LC_MESSAGES/tdfvwm.mo

Now I have used my own BASH script to generate a tdfvwm.pot and used

1) the graphical tool "poedit"
2) the webinterface "pootle"

but both generated tdfvwm.mo files are not working.

If I call them simply "fvwm.mo" and use
LocalePath=$[FVWM_USERDIR]/locale

it does not work either. This is bizzar, becasue FVWM give no errors.

--
Michelle Konzack ITSystems
GNU/Linux Developer 0049-176-86004575
Thomas Funk
2015-07-30 10:19:50 UTC
Permalink
> Michelle Konzac wrote:
>
> Hi again,
>
> Am 2015-07-29 23:39:17 hackte Thomas Funk in die Tastatur:
> > You've forgotten LC_MESSAGES in your path:
> > ~/.fvwm/locale/de/LC_MESSAGES/tdfvwm.mo
>
> Now I have used my own BASH script to generate a tdfvwm.pot and used
>
> 1) the graphical tool "poedit"
> 2) the webinterface "pootle"
>
> but both generated tdfvwm.mo files are not working.
>
> If I call them simply "fvwm.mo" and use
> LocalePath=$[FVWM_USERDIR]/locale
>
> it does not work either. This is bizzar, becasue FVWM give no errors.
>

I've described the language translation under
https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/wiki/Documentation#Language

This should normally work. Also if you don't know what content in the header is
needed in the pot and po file have a look into fvwm's sources under po/ or see
https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/blob/release-0.6/templates/fvwm-nightshade.pot
https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/blob/release-0.6/po/fvwm-nightshade.de.po

-- Thomas --


--
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein
Michelle Konzack
2015-07-30 13:26:00 UTC
Permalink
Am 2015-07-30 12:19:50 hackte Thomas Funk in die Tastatur:
> I've described the language translation under
> https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/wiki/Documentation#Language

I have done nothing different from this.

> This should normally work. Also if you don't know what content in the header is
> needed in the pot and po file have a look into fvwm's sources under po/ or see
> https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/blob/release-0.6/templates/fvwm-nightshade.pot
> https://github.com/Fvwm-Nightshade/Fvwm-Nightshade/blob/release-0.6/po/fvwm-nightshade.de.po

My POs look like the same but do not work.

--
Michelle Konzack ITSystems
GNU/Linux Developer 0049-176-86004575
Loading...