Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: statistics and graphs in Arabic

statistics and graphs in Arabic 2 Jahre 1 Monat her #87099

  • sukhon
  • sukhons Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 21
  • Karma: 0
Hi,

I have two problems when using Arabic as main language or second language

1- the first problem consists in the report, when i choose to get statistics for the results of any survey to which the language of the questions is in Arabic and choose statistics report language in Arabic and choose to show graphs, the system doesn't generate the report and gives me error message as in the attached file.

errormessage.png


2- if i choose the Statistics report language in English and choose to show graphs, the answers in the graph show squares, as the graphs don't recognize Arabic language. please check the attachment.
graphs.png
Letzte Änderung: 2 Jahre 1 Monat her von sukhon. Begründung: one of the attachments didn't load
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87176

  • sukhon
  • sukhons Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 21
  • Karma: 0
Any reply, any one
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87186

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6545
  • Dank erhalten: 867
  • Karma: 257
Hello,

What is your version of LimeSUrvey ? It's 1.91/1.92 ? I think we already correct this bug in last 1.92.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87199

  • sukhon
  • sukhons Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 21
  • Karma: 0
Version 1.92+ Build 120919
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87207

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6545
  • Dank erhalten: 867
  • Karma: 257
Your survey is in arabic (ar) ?

In statistics function we test if langage='ar' , if yes : we use KacstOffice.ttf .

Did you have this file in ./fonts/ and is this file is readable by server.

Did you have access to server error log ? (err 500 can came from a lot of possibility).

Denis
PS: can you send me a little survey in arabic, i can test in my server.
PS2: maybe the best is to test with the last LS version 2.0 (in another directory if you xant). We don't have a lot of arabic user's to search specific lang rtl/arabic bugs.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87208

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6545
  • Dank erhalten: 867
  • Karma: 257
Aother thing,

If all of your survey is in arabic, i think you can try with:
[code type=php-brief]$chartfontfile='KacstOffice.ttf';[/code]
in config.php
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87209

  • sukhon
  • sukhons Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 21
  • Karma: 0

Dateianhang:

Dateiname: limesurvey_survey_.lss
Dateigröße: 48 KB


attached is a survey in Arabic

I just downloaded the 2.0+ version to test on live server, please let me know what happends with your testing
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87210

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6545
  • Dank erhalten: 867
  • Karma: 257
Err 500:
include_once(/home/myuser/htdocs/limesurvey/classes/core/Arabic.php)

But with rename /classes/core/arabic.php to /classes/core/Arabic.php it don't work better.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87211

  • sukhon
  • sukhons Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 21
  • Karma: 0
So what do you suggest I do to fix this??
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: statistics and graphs in Arabic 2 Jahre 4 Wochen her #87212

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6545
  • Dank erhalten: 867
  • Karma: 257
Hello,

At line 3224, replace
[code type=php-brief]if ($language=='ar') [/code]
by
[code type=php-brief]if ($language=='ar' && false) [/code]

Add this:
[code type=php-brief]$chartfontfile='KacstOffice.ttf';[/code]to your config.php.

Remove all png files from temp/ directory.

And try again the HTML statistics.

PDF stats don't work.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.152 Sekunden
Donation Image