# 有没有办法根据位置向用户推荐地区？

**URL:** <https://meta.discourse.org/t/any-way-to-recommend-locale-to-users-based-on-location/308612>\
**Category:** Support\
**Created:** [2024年五月19日 14:53 UTC](https://meta.discourse.org/t/any-way-to-recommend-locale-to-users-based-on-location/308612 "2024-05-19T14:53:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年五月19日 15:00 UTC](https://meta.discourse.org/t/any-way-to-recommend-locale-to-users-based-on-location/308612/2 "2024-05-19T15:00:10Z")

</div>

> [@piffy](#):
>
> 匿名用户

当您启用“从浏览器语言设置界面语言”时，请查看用户在其浏览器中选择的语言环境的界面。

> [@Variable default interface language for new users](https://meta.discourse.org/t/variable-default-interface-language-for-new-users/33741/47?u=moin):
>
> To allow the locale to be set for anonymous (non-logged in) users based on their browser’s language settings, you need to enable both the allow user locale and set locale from accept language header site settings. Both of those settings are found near the top of your site’s “Basic Setup” settings page. Once those settings are enabled, users who are not logged into the site will have the Discourse user interface automatically set to the preferred language they have set in their browser. If a non…

---

_[View the full topic](https://meta.discourse.org/t/any-way-to-recommend-locale-to-users-based-on-location/308612)._
