AnsweredAssumed Answered

Add a button in share to trigger different language

Question asked by paulclinton on Sep 5, 2018



My requirement was to add a button on Share, So that I can trigger the language I need. Instead of changing the browser language everytime, which is a messy process for a developer like me to work with different languages. Is it possible to do this? 


I found that there is alfresco-template.ftl file, and <html xmlns="" lang="${locale}" xml:lang="${locale}">. Here the language is changed based on the locale variable set. Is it possible that I could do something with this? Like write a javascript code which the button will trigger and set the locale to the given value (such as 'en' for example) .