Hi Gabriel,

> Am 28.12.2020 um 12:21 schrieb Gabriel Carissimo <gcariss...@gmail.com>:
> 
> 
> Thanks Jens
> We solved it in another and simpler way, adding a javascript file in the 
> index.html file called locale.js, in this the definition 'define ("ember-intl 
> / translations", ["exports"], (function ( e) ... 'I think this method should 
> be in the openxpki standard to simplify the inclusion of translations.
> I attach the locale.js

Impressive that you figured that out. But there is a downside to this method: 
the Ember.js framework we are using gets compiled into the code snipped that 
you copied and customized.
While this works for now, there is quite a chance that things will break with 
an update of Ember.js.

But I agree that a simpler solution would be nice. I will try and find a way to 
add translations without having to recompile the UI code.

Regards
Jens

_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to