Is it possible to have this?
In admin/store/settings/store the Currency format part it would be cool to be able to change the numeral (digit) formats as well:

- English (0123456789)
- Arabic (٠١٢٣٤٥٦٧٨٩)
- Persian (۰۱۲۳۴۵۶۷۸۹)

So on Persian and Arabic sites the prices would be shown correctly and not in english!

Comments

sa3er’s picture

Title: Using » Changing numeral (digit) formats
longwave’s picture

Related issues in other projects
#1345758: META: Provide locale (regional) formats framework for automated translation of non textual data
#619198: showing arabic and persian number like ١ ٩٠

This seems like it should be solved in core or contrib (so all numeric output is converted) but it doesn't seem like anyone has tackled this yet, so perhaps it could be supported for prices only in Ubercart, but I don't intend to work on this personally. Patches or ideas welcome, though.

sa3er’s picture

Well it is not really okay to alter numeral system globally (from drupal core) since many problems would occur. One for example, most product model name and serial numbers include english numbers and characters and that would totally deface the shop.

Since it is a "just prices formatation" request I think it is a valid Ubercart related feature!
It is a long time thousounds of Persian and Arabic e-commerce (drupal-based) websites are waiting for such a feature.

However I thought It was really great if we could create this feature "field based" on a completely seperate module! So only definded fields (by #id) on the module setting page would get formatted.

TR’s picture

Version: 7.x-3.0 » 7.x-3.x-dev
Status: Active » Postponed

Feature requests should be made against HEAD.

TR’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

This is basically a core Drupal issue, and there's been no support from the community for an Ubercart-only fix.