Answered
Localize language
I've reached a dead end
I would like to make the panel change the language based on the country of use,
unfortunately I stopped and I can't go on,
up to now I have managed to set 2 languages,
I would like to set another 2 or 3
this is my starting script.
const host = require('uxp').host;
const locale = host.uiLocale;
if (locale == "en_US" ){
english();
}else{
france();
}
I tried this method but had no luck
const host = require('uxp').host;
const locale = host.uiLocale;
if (locale == "en_US" ){
english();
}else{
france();
}else{
espana();
}
I hope there is a solution
