Hi Gabriel,

> Am 23.12.2020 um 11:42 schrieb Gabriel Carissimo <[email protected]>:
> 
> Friends
> We are customizing the translations for the application and we are receiving 
> these messages, we are missing translations, what should we do, is there a 
> way to make a custom file with the missing translations? 

The messages you are seeing are related to pure UI (Javascript) translations 
that are separate from the other (workflow related) backend translations.

To create a new set for your locale you need to recompile the Ember.js based 
frontend, but that should not be too difficult (under Linux, with Docker 
available):

Assuming that you already checked out the OpenXPKI source code from Github, 
navigate to core/htdocs_source/translations/ and copy the en-us.yaml file to a 
new file es-ar.yaml. 
(https://github.com/openxpki/openxpki/tree/develop/core/htdocs_source/translations)

Now change the strings in es-ar.yaml.

To compile the UI move one dir up to core/htdocs_source/ and run „make“ which 
builds a Docker container that is then used to build the UI.

If all goes well the new UI assets should be available below 
core/server/htdocs/assets/.
Copy openxpki.js to your OpenXPKI web server directory (into the assets/ dir).

Restart Apache and hopefully your translations are showing up in the UI.

Regards
Jens
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to