from: github.com/sporkmonger/addressable
uri = Addressable::URI.parse("http://www.詹姆斯.com/") uri.normalize #=> #<Addressable::URI:0xc9a4c8 URI:http://www.xn--8ws00zhy3a.com/>
We seem to be already using the Addressable gem in Forem, but missed or removed the above kind of implementation.
After posting this, I went through the previous articles and came to know that Forem had the multi-language functionality earlier but deprecated.
I could understand the logic behind that decision, but enabling this url part now.. would help the non-english forems for a better SEO.
Request you to please give it a thought, thanks.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Let's Build Forem
from: github.com/sporkmonger/addressable
We seem to be already using the Addressable gem in Forem, but missed or removed the above kind of implementation.
After posting this, I went through the previous articles and came to know that Forem had the multi-language functionality earlier but deprecated.
I could understand the logic behind that decision, but enabling this url part now.. would help the non-english forems for a better SEO.
Request you to please give it a thought, thanks.