Amazing! Thank you so much Sergei!

I've been working on this for a week and learned so much. Once I figured
out the permissions problem I thought I was all set.

I missed one small detail:
In particular, file
    /usr/local/etc/openxpki/webui/default.conf
should have a line:
   locale_directory: /usr/local/share/locale
instead of the line:
   locale_directory: /usr/share/locale

That did it! Working now!

I really need to do a full howto guide for others. Will try and get on that
soon.

On Thu, Nov 5, 2020 at 10:17 AM Sergei Vyhenski <[email protected]>
wrote:

> FreeBSD quirks are:
>
> - use package version p5-openxpki-3.8.1+,
> - openxpki server is running from user "openxpki",
> - web server apache is running from user "www",
> - choose needed openxpki configurations from
>       /usr/local/share/examples/openxpki/config/
> copy them into
>      /usr/local/etc/openxpki/
> and edit to your needs.
>
> In particular, file
>     /usr/local/etc/openxpki/webui/default.conf
> should have a line:
>    locale_directory: /usr/local/share/locale
> instead of the line:
>    locale_directory: /usr/share/locale
>
> All of the above and much more, except the last one
> are specified in the "package message":
>     /usr/ports/security/p5-openxpki/files/pkg-message.in
>
> Note that default PREFIX in FreeBSD is "/usr/local".
>
> I will fix this last point with the next stable release of the openxpki.
>
> ------------------------------------------------------------------------------------------------
>
> On 05.11.2020 19:44, Nick Dawson wrote:
> > Thanks Oliver
> >
> > I've confirmed:
> >
> >
> > 1. usr/share/locale exists and lists all the locale UTF-8 files.
> > 2. locale_directory: /usr/share/locale & default_language: en_US are
> > set correctly in webui/defaut.conf
> >
> >
> > In /usr/share/locale/ I have :
> > /usr/local/share/locale/en_US/LC_MESSAGES/openxpki.mo
> >
> /usr/ports/security/p5-openxpki-i18n/work/stage/usr/local/share/locale/en_US/LC_MESSAGES/openxpki.mo
> >
> > I'm using chrome 86 and safari 13 - both on devices set to US English.
> >
> > On Thu, Nov 5, 2020 at 8:41 AM Oliver Welter <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Hi Sergei, Nick,
> >
> >     this issue is not related to the client - the translation is done
> >     on the
> >     server side. I dont know much about FreeBSD packages and system
> layout
> >     but most likely you either dont have the "openxpki.mo" translation
> >     file
> >     installed or the path in webui/default.conf does not point to the
> >     right
> >     location:
> >
> https://github.com/openxpki/openxpki-config/blob/community/webui/default.conf#L21
> >
> >     Oliver
> >
> >     Am 05.11.20 um 11:54 schrieb Sergei Vyhenski:
> >     >
> >     > What is the name of your browser and of your client op.system?
> >     > Which language is set as default in your browser?
> >     >
> >     >
> >     > On 05.11.2020 0:22, Nick Dawson wrote:
> >     >> Hello everyone,
> >     >> I have a new install on FreeBSD (whew! that was interesting!).
> >     I have
> >     >> the I18N package installed, along with utf-8 support. My
> >     system-wide
> >     >> language is en_US.UTF-8. And when I run locale I get:
> >     >> LANG=en_US.UTF-8
> >     >> LC_CTYPE="en_US.UTF-8"
> >     >> LC_COLLATE="en_US.UTF-8"
> >     >> LC_TIME="en_US.UTF-8"
> >     >> LC_NUMERIC="en_US.UTF-8"
> >     >> LC_MONETARY="en_US.UTF-8"
> >     >> LC_MESSAGES="en_US.UTF-8"
> >     >> LC_ALL=
> >     >>
> >     >> Yet, when I load the webui, everything is proceeded by
> >     >> I18N_OPENXPKI_UI...
> >     >> I've read some other threads about this problem but haven't found
> a
> >     >> solution.
> >     >> I'd be grateful for some troubleshooting tips!
> >     >> -N
> >     >>
> >     >>
> >     >> _______________________________________________
> >     >> OpenXPKI-users mailing list
> >     >> [email protected]
> >     <mailto:[email protected]>
> >     >> https://lists.sourceforge.net/lists/listinfo/openxpki-users
> >     >
> >     >
> >     >
> >     > _______________________________________________
> >     > OpenXPKI-users mailing list
> >     > [email protected]
> >     <mailto:[email protected]>
> >     > https://lists.sourceforge.net/lists/listinfo/openxpki-users
> >     >
> >
> >     --
> >     Protect your environment -  close windows and adopt a penguin!
> >
> >
> >
> >
> >     _______________________________________________
> >     OpenXPKI-users mailing list
> >     [email protected]
> >     <mailto:[email protected]>
> >     https://lists.sourceforge.net/lists/listinfo/openxpki-users
> >
> >
> >
> > _______________________________________________
> > OpenXPKI-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
>
>
> _______________________________________________
> OpenXPKI-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to