# Why don't discourse use email name to create username?

**URL:** https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197
**Category:** Feature
**Created:** [2015 年3 月 11 日 02:10 UTC](https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197 "2015-03-11T02:10:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![trandatnh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trandatnh/32/115055_2.png) [@trandatnh](https://meta.discourse.org/u/trandatnh)
#### Post date: [2015 年3 月 11 日 02:10 UTC](https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197/1 "2015-03-11T02:10:08Z")

</div>

Continuing the discussion from [Vietnamese slug support for better SEO](https://meta.discourse.org/t/vietnamese-slug-support-for-better-seo/22422/24):

> [@thangngoc89](#):
>
> @trandatnh There you go again  
> [discourse/lib/user\_name\_suggester.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/lib/user_name_suggester.rb#L36-L42)
> 
> It uses `transliterate` (which we discuss above).

I find it’s strange to use “people name” from Facebook to create username in Discourse. Why wouldn’t we use “email name” as a default user name for Discourse forum?

The facts are

- almost everyone use their “nick name” or “email name” on forum. for example

- **We got problem with unicode “real name”** , my full legal name is: “Lê Trần **Đạt** ”. Facebook presents it as “ **Đạt** Lê Trần”. I don’t like the way Facebook call me, but it’s still ok, acceptable. But hey, what does Discourse call my name? There it is `D_t_Le_Tr_n`

 ![](https://global.discourse-cdn.com/meta/original/3X/7/c/7c160ebe59bc136a0aa06244b83b29db20698c57.png) 

I would prefer `trandatnh` as my username rather than `D_t_Le_Tr_n`

* * *

Don’t tell me to use `vi` as default language. There are 2 reasons

- I encourage my members, friends to use English.
- The vietnamese translation is not completed yet (around 40%)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016 年6 月 1 日 09:42 UTC](https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197/2 "2016-06-01T09:42:23Z")

</div>

One heuristic that comes to mind is this:

> if the auto-created full name contains more than 3 `_` characters  
> use the email address name instead

---

<div class="post-metadata">

### Author: ![Nguyen\_Hieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nguyen_hieu/32/61121_2.png) [@Nguyen\_Hieu](https://meta.discourse.org/u/Nguyen_Hieu)
#### Post date: [2016 年8 月 29 日 13:28 UTC](https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197/3 "2016-08-29T13:28:32Z")

</div>

Can you change the operating mechanism of it? Because some of them, and the name of the Vietnam 4 words. Example: Đình Nguyễn Anh Cương and his full legal name is: Nguyễn Đình Anh Cương.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [2025 年12 月 4 日 11:35 UTC](https://meta.discourse.org/t/why-dont-discourse-use-email-name-to-create-username/26197/4 "2025-12-04T11:35:45Z")

</div>


