可以在页面加载时调用客户端 API 吗?基本上,我想根据我们平台上的客户端语言来本地化标题和页脚。所以我想在 discourse 中调用 API 来获取客户端语言,这样我就可以本地化内容。这可以在 discourse 中实现吗?
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| How can I call third party apis in discourse | 4 | 948 | 2021 年8 月 26 日 | |
| Make an external http request from discourse | 9 | 2303 | 2019 年8 月 17 日 | |
| I want to use my API to present the data | 2 | 427 | 2022 年6 月 17 日 | |
| Content Localization - Manual and Automatic with Discourse AI | 48 | 1907 | 2025 年12 月 17 日 | |
| Discourse AI Translator, Planet Icon Missing | 3 | 50 | 2025 年10 月 7 日 |