为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

problem in Farsi(fa) Alphabetical

  • 3 个回答
  • 13 人有此问题
  • 6 次查看
  • 最后回复者为 John99

more options

There is a problem in farsi Alphabetical order in mozilla firefox, because even if I set the language to Farsi(fa-AF), it brings "و" before "ه" and brings "و" after "آ" while the correct order is in "http://en.wikipedia.org/wiki/Persian_alphabet".

To illustrate, we are developing an extension that uses the following code to set the language to farsi:

Intl.Collator(locale)

There is a problem in farsi Alphabetical order in mozilla firefox, because even if I set the language to Farsi(fa-AF), it brings "و" before "ه" and brings "و" after "آ" while the correct order is in "http://en.wikipedia.org/wiki/Persian_alphabet". To illustrate, we are developing an extension that uses the following code to set the language to farsi: Intl.Collator(locale)

所有回复 (3)

more options

I may not be able to help directly but thought I would ask for further details that may assist someone else.

What versions of Firefox have you seen this issue on. Does it appear to be something that has changed very recently ?

I am not sure I understand what you are asking.

  • Is the problem with certain alphabetical sorts ?
    Possibly including for instance the bookmarks library where Firefox is able to sort by alphabetical order.
  • Is it a problem with characters being moved or transposed ?
    You for instance type letters in a specific order - maybe in the location bar - but that displayed order does not match.
  • Something else ? I've got it wrong !

Who is affected

  • Is this thought to be something affecting most people using farsi on Firefox ?
  • Is this same problem mentioned on other websites.
    • English - Sorry they will need to be English language to make sense to me.
    • Farsi, Arabic etc - I can always have a go with Google translate. If the problem is real (as in a Firefox issue) and affecting most users then whoever deals with the problem will I am sure appreceite links to sites in farsi
more options

Thank you for your reply,

I am using firefox v.35 and have seen it from v.33. actually before that version I did not check out this problem.

My exact question is: A problem with certain alphabetical sorts, but I have this problem in an extension we developed for researchers and a lot of our users have reported this problem. to explain more we have a list of items in our extension that its alphabetical sort has problem when the user types in Farsi. for example attached an image of our extension in which the order of farsi characters is incorrect ("و" comes after "آ" and is wrong)

Thank you, Hajar

由hhajar2002于修改

more options

You could try to file a bug for this, but it is best to try to ensure others may reproduce this, and determine which Firefox version is first affected.

A fairly easy test would be to narrow this down would be to test on an install of the unofficial third party (I presume you use Windows) Firefox Portable ESR. That may be easily installed as an additional browser and is based on Fx31.4

As this is seen whilst developing and using an add-on it is probably best asking next in the add-ons forum

If you start another thread or file a bug you may wish to post back here with the link so we may follow your progress.


Have you tried creating Firefox bookmarks folders and bookmarks with farsi names and then sorting and inverse sorting in alphabetical order if you see a problem doing that it is a general Firefox UI issue and bug may be filed. If I create unsorted folders in order "و" , "ه" , "آ" ,

They sort into alpha order "آ" , "ه" , "و" ,

(click thumbnail for full size)