Hello
Is it possible to determine the language rendition that an XPUB is using programatically? For example, if I have an XPUB file with an English and Spanish rendition, and the user chooses Spanish but their browser locale is en-US, how can I tell that they have loaded Spanish instead of English.
I have a Javascript file which I would like to have different actions depending on the language they chose. I know I can do a modification in each rendition, but that creates a maintenance problem as for each language we would have to make any changes in every rendition version.
Is there a Pubcoder Javascript call that would indicate what language is loaded?
Thank you