How to Get Local Language of SuperApp
As a MiniApp developer, you can ensure that your MiniApp, web app, or web service is localized to match the same local language settings as the SuperApp, which uses the device's preferences. This alignment provides a consistent and seamless user experience. By leveraging the Content-Language HTTP header, developers can specify the intended language for the content, ensuring that the MiniApp adapts to the user's preferred language and regional settings.
This approach allows for the localization of text, dates, and other locale-sensitive information, making the MiniApp feel native to the user's environment. Detailed guidance on implementing the Content-Language header for localization can be found on this link.