Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Show compact numbers (e.g. 1.3k)

+3 votes
66 views
asked Apr 18 in Q2A Core by islam afify
Show compact numbers (e.g. 1.3k)

I want to change the letter "k" where do I find the file
Q2A version: 1.8
commented Apr 18 by ProThoughts
This feature is already there in v1.8. are you not seeing 1.3k?...it may be bug then.
commented Apr 19 by sama55
He may hopes to change thousands symbol from English to Arabic. Arabic translation files is old, and there is no translation phrases of "_thousands_suffix" and "_millions_suffix" in it. Therefore, as result, English symbols("k"/"m") is shown.
commented Apr 19 by ProThoughts
@sama55, Oh, got it. thanks!

1 Answer

+3 votes
answered Apr 18 by sama55

Setting

"Admin" > "Viewing" > "Show compact numbers (e.g. 1.3k)"

Source

  • Program: qa-include/app/format.php::qa_format_number()
  • Language: qa-include/lang/qa-lang-main.php
        '_thousands_suffix' => 'k',
        '_millions_suffix' => 'm',

Customize

My answer will help you.
commented Apr 19 by islam afify
Thanks much for helping
...