tencent cloud

Tencent Cloud Super App as a Service

DocumentaçãoTencent Cloud Super App as a Service

Setting the Current Language

Download
Modo Foco
Tamanho da Fonte
Última atualização: 2025-07-04 17:33:29
Set the language using the MiniAppProxy API:
// Implement the MiniAppProxy API
public class YourMiniAppProxyImpl extends BaseMiniAppProxyImpl {
@Override
public Locale getLocale() {
// Return the language you want to set
return Locale.SIMPLIFIED_CHINESE; // Simplified Chinese
// or return Locale.US; // English
// or return new Locale("ar", "SA"); // Arabic
// or return new Locale("in", "ID"); // Indonesian
// or return Locale.FRANCE; // French
}
}



Ajuda e Suporte

Esta página foi útil?

comentários