Forumsregeln
Please always provide all needed information to identify your problems. Screenshots and detailed descriptions makes it easier for us to help https://help.runalyze.com/latest/support.html

We spend our leisure time to make RUNALYZE as good as possible and we still have tons of great ideas, but time is scarce and after a hard training we first need some fruits or a smoothie. You can support the development of RUNALYZE with every financial contribution — We highly appreciate every grant.
https://blog.runalyze.com/donate/
bidroid
Neuling
Beiträge: 3
Registriert: So 28. Mai 2017, 09:11

[Fixed in v4.1.2] Translation in a self-hosted server

So 28. Mai 2017, 17:18

Hi all,

I'am a french runner. I discovered runalyze a few weeks ago. Really, really a great application !

I do not know if I'am really facing a bug so sorry if my post is in the wrong place.

I want runalyze in french but it stays in english. Whatever the selected langage runalyze stays in english.

I have read the faq tells me to verify if php-gettext is installed : Yes

I do not know php nor symfony so I'am a little bit lost that to find a clue.

Here are some informations about my server :
  • OS : debian stretch
  • Runalyze version : 4.1.1
  • Php version : 7.0
  • Web server : apache2 (2.4.25)
I think "locale" configuration is good :
root@sportux:~# locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
root@sportux:~# locale -a
C
C.UTF-8
fr_FR.utf8
POSIX

Here are all the packages I have installed for runalyze :
gettext : 0.19.8.1-2
inkscape : 0.92.1-1
libapache2-mod-php7.0 : 7.0.19-1
librsvg2-bin : 2.40.16-1+b1
librsvg2-common : 2.40.16-1+b1
libspatialite7 : 4.3.0a-5+b1
libsqlite3-mod-spatialite : 4.3.0a-5+b1
libxml2 : 2.9.4+dfsg1-2.2
libxml2 : 2.9.4+dfsg1-2.2
perl : 5.24.1-2
perl : 5.24.1-2
php7.0-curl : 7.0.19-1
php7.0-gettext : php7.0-intl : 7.0.19-1
php7.0-intl : 7.0.19-1
php7.0-mbstring : 7.0.19-1
php7.0-mysql : 7.0.19-1
php7.0-sqlite3 : 7.0.19-1
php7.0-xml : 7.0.19-1
php7.0-zip : 7.0.19-1
php-cli : 1:7.0+49
php-curl : 1:7.0+49
php-gettext : 1.0.12-0.1
php-intl : 1:7.0+49
php-mbstring : 1:7.0+49
php-xml : 1:7.0+49
php-zip : 1:7.0+49
python3 : 3.5.3-1
python3-pip : 9.0.1-2
sqlite3 : 3.16.2-3

I tried to find any error messages about translations. The only thing I found is in the log files in "data/log". There are many files in this directory and I do not understand them. I "grep" for the string "translation" in all the file and one error message appears very often :
Unknown error type: Not quoting the scalar "%kernel.root_dir%/Resources/translations" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0. (in /srv/www/runalyze/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php::325

I do not know what to do now. It may be a problem with my os but I do not know how to debug.

I'am listening for someone who can help. Of course do not hesitate to ask me for more details about my server.

Many thanks for your help.

Regards

--
Bidroid

Benutzeravatar
mipapo
Administrator
Beiträge: 847
Registriert: Mo 29. Jul 2013, 20:26
Wohnort: Kiel
Kontaktdaten: Website Facebook Twitter

Re: Translation in a self-hosted server

So 28. Mai 2017, 18:59

We will release a new version next week. The files are just missing. You can generate them with the command "gulp translate". (you would need to install all required tools like npm and gulp itself to run gulp)
###Donate to RUNALYZE###
Erste Schritte - Höhenmeter (Korrektur & Berechnung) - Nutzerhilfe/User help - Admin docs-

Run Happy!,
Michael
P.S. Ich antworte gerne kurz und knackig ;)
Bild

bidroid
Neuling
Beiträge: 3
Registriert: So 28. Mai 2017, 09:11

Re: Translation in a self-hosted server

So 28. Mai 2017, 21:11

Thanks mipapo,

I prefer to wait the next release. I will update my installation.

Thanks for your answer and many thanks for the work on runalyze.

--
Bidroid

Benutzeravatar
mipapo
Administrator
Beiträge: 847
Registriert: Mo 29. Jul 2013, 20:26
Wohnort: Kiel
Kontaktdaten: Website Facebook Twitter

Re: Translation in a self-hosted server

So 28. Mai 2017, 21:13

And don't forget to keep us motivated to answer in this forum to questions regarding self hosted installations: https://www.paypal.com/cgi-bin/webscr?c ... V7VEAG4KK6 ;)
###Donate to RUNALYZE###
Erste Schritte - Höhenmeter (Korrektur & Berechnung) - Nutzerhilfe/User help - Admin docs-

Run Happy!,
Michael
P.S. Ich antworte gerne kurz und knackig ;)
Bild

bidroid
Neuling
Beiträge: 3
Registriert: So 28. Mai 2017, 09:11

Re: Translation in a self-hosted server

Mo 29. Mai 2017, 19:23

Hi,

First, thank you for the release 4.1.2, french is now available.

Second, I tried to keep you motivated :-) But I can not send any money without creating a paypal account and I do not want a paypal account ...

If there is another way to do a donation, tell me. I will be really happy to contribute to runalyze project

Benutzeravatar
mipapo
Administrator
Beiträge: 847
Registriert: Mo 29. Jul 2013, 20:26
Wohnort: Kiel
Kontaktdaten: Website Facebook Twitter

Re: Translation in a self-hosted server

Di 30. Mai 2017, 08:04

bidroid hat geschrieben:
Mo 29. Mai 2017, 19:23
If there is another way to do a donation, tell me. I will be really happy to contribute to runalyze project
You could pay us by bank transfer. Please drop a line to mail@runalyze.com ;)
###Donate to RUNALYZE###
Erste Schritte - Höhenmeter (Korrektur & Berechnung) - Nutzerhilfe/User help - Admin docs-

Run Happy!,
Michael
P.S. Ich antworte gerne kurz und knackig ;)
Bild

Zurück zu „Bugs“

Advertisement

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast