Hello
I did a partial translation of Openxpki, several translations are still
missing, and what I did to apply the translation I don't know if it is the
right thing to do, but it worked for me.
1 - Change in Linux the Location, by es_AR.
#local
LANG = en_AR.UTF-8
LANGUAGE =
LC_CTYPE = "es_AR.UTF-8"
LC_NUMERIC = "en_AR.UTF-8"
LC_TIME = "es_AR.UTF-8"
LC_COLLATE = "en_AR.UTF-8"
LC_MONETARY = "es_AR.UTF-8"
LC_MESSAGES = "en_AR.UTF-8"
LC_PAPER = "es_AR.UTF-8"
LC_NAME = "es_AR.UTF-8"
LC_ADDRESS = "es_AR.UTF-8"
LC_TELEPHONE = "en_AR.UTF-8"
LC_MEASUREMENT = "en_AR.UTF-8"
LC_IDENTIFICATION = "en_AR.UTF-8"
LC_ALL =
2 - I created the folder es_AR in /usr/share/locale/es_AR /LC_MESSAGES, and
here I copy the openxpki.mo, with the translations.
3 - I changed in /etc/openxpki/webui/default.conf.
...
locale_directory: /usr/share/locale
default_language: es_AR
...
4 - I added a line in the /var/www/openxpki/index.html invoking a new js,
called locale.js
<script src = "/ openxpki / assets / vendor.js"> </script>
<script src = "/ openxpki / assets / locale.js"> </script>
<script src = "/ openxpki / assets / openxpki.js"> </script>
5. I attach the locale.js
https://drive.google.com/file/d/1Snjhp1LORRMndhvLdjaUleIS27ZPBzhc/view?usp=sharing
El lun, 14 jun 2021 a las 8:55, Martin Bartosch via OpenXPKI-users (<
[email protected]>) escribió:
> Hi Gabriel,
>
> > I have a problem with the status of the system, in the OpenXPKI home,
> the status of the Token Vault does not appear, it does not show data, I
> attach a link with Image
> >
> >
> https://drive.google.com/file/d/188bs3cDkUgZqI2QdjHjVHfD4-lttSraD/view?usp=sharing
>
> Just a side note: looking at that screenshot in your post it looks like
> you did a Spanish translation of the OpenXPKI system. If you are willing to
> share your translation efforts we would very much welcome it as a
> contribution to the OpenXPKI OpenSource project.
>
> Cheers
>
> Martin
>
>
>
> _______________________________________________
> 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