ijokarumawak commented on a change in pull request #211: NIFIREG-295 Add 
support for proxying via Apache Knox
URL: https://github.com/apache/nifi-registry/pull/211#discussion_r313194106
 
 

 ##########
 File path: 
nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js
 ##########
 @@ -54,7 +54,7 @@ const providers = [];
 if (!locale || locale === 'en-us') {
     bootstrapModule();
 } else { //load the translation providers and bootstrap the module
-    var translationFile = './nifi-registry/assets/locale/messages.' + locale + 
'.xlf';
+    var translationFile = 'assets/locale/messages.' + locale + '.xlf';
 
 Review comment:
   The only available local is `es`.
   
https://github.com/apache/nifi-registry/tree/master/nifi-registry-core/nifi-registry-web-ui/src/main/locale
   
   I can get 200 result if I set browser language to Spanish. But the 
application failed with following error. I'll check if this was working before.
   
![image](https://user-images.githubusercontent.com/1107620/62909540-f5ae0c80-bdb7-11e9-898d-61c573642cee.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to