Hide Forgot
If I access Designer in KIE workbench with locale=ja_JP, Designer gets broken. See attached designer.png. http://localhost:8080/kie-wb-6.1.0-SNAPSHOT-eap-6_1/org.kie.workbench.KIEWebapp/KIEWebapp.html?locale=ja_JP This is because inlineeditor.jsp looks for translation_ja_JP.js but but the existing file name is translation_ja.js https://github.com/droolsjbpm/jbpm-designer/blob/master/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/inlineeditor.jsp#L39 <script xmlns="http://www.w3.org/1999/xhtml" src="<%=request.getContextPath()%>/org.jbpm.designer.jBPMDesigner/i18n/translation_<%=request.getParameter("locale")%>.js" type="text/javascript"></script> So a quick fix is renaming translation_ja.js to translation_ja_JP.js. The same goes fot other locales. I think Workbench/Designer/Dashboard developers should have an agreement about locale code (e.g. always <language>_<country> ?). WDYT?
fixed in designer master and 5.0.x branches
Verified for ER7 that designer is able to open in ja_JP locale by using this address: http://10.34.3.125:8080/business-central/org.kie.workbench.KIEWebapp/KIEWebapp.html?locale=ja_JP HTML code is: <script type="text/javascript" src="/business-central/org.jbpm.designer.jBPMDesigner/i18n/translation_ja.js" xmlns="http://www.w3.org/1999/xhtml">...</script>