Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个模块,它使用 displayTop 钩子进行一些操作。之后,我想将语言切换为系统中存在的所需语言。我找到了一种方法Tools::switchLanguage,但我不知道如何正确使用它。任何线索?
Tools::switchLanguage
有一个模块已经这样做了:blocklanguages. 因此,您可以使用此模块或查看代码以了解它是如何完成的。这很容易,因此您可以在任何地方实现它。
blocklanguages