Use case: You want to add new language to CQ Change display language options in translator grid Change language name and default countries Solution: You can access translator UI in CQ with following URL http://<HOST>:<PORT>/libs/cq/i18n/translator.html Create new language location for Dictionary Go to CRXDE lite (or your favorite JCR browser) and add this structure (assuming /apps/myapp/i18n as a typical location for custom apps): /apps/myapp/i18n [sling:Folder] - de [nt:unstructured] + jcr:mixinTypes = [mix:language] + jcr:language = de - fr [nt:unstructured] + jcr:mixinTypes = [mix:language] + jcr:language = fr Then reload the translator and the path /apps/ myapp /i18n should show up in the drop-down at the top. Note: the translator will only save translations for languages that are actually present underneath the path (e.g. /apps/myapp/i18n), others will be skipped. Then on jsp pa
Nhận xét
Đăng nhận xét