• Page:
  • 1

TOPIC:

Incorrect display of translated text 1 year 7 months ago #1

  • jprause
  • jprause's Avatar Topic Author
  • Away
  • Junior
  • Junior
  • Posts: 182
The attached picture shows how translated Czech text is displayed.
The characters od Czech alphabet are not correct, the issue regards all translated strings.
The underlined text should read: anonymní přihlášený uživatel
I spent many hours to translate webtrees strings into Czech language which is now 100 % translated and have never seen something like this before.
Last time I entered the translation 3 weeks ago everything was correct.
What is this caused by?
Thank you for any hint.
Btw, the same issue can be seen at Polish translation.
Josef

webhosting:-- webtrees 1.7.17, PHP version 7.3.13, MySQL 5.7.21, testing webtrees 2.0.5-dev
local desktop:-- webtrees 2.0.5-dev, PHP version 7.2.24, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by jprause.

Incorrect display of translated text 1 year 7 months ago #2

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1931
The cause is an encoding issue. It looks like what originally was UTF-8 is now interpreted as standard Ascii.

Do you perform webtrees upgrades automatically or manually? If manually, pay attention during uploading to the text encoding options, or maybe even chose the "binary" option to make sure diacritics stay as is.
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #3

  • jprause
  • jprause's Avatar Topic Author
  • Away
  • Junior
  • Junior
  • Posts: 182

bertkoor wrote: The cause is an encoding issue. It looks like what originally was UTF-8 is now interpreted as standard Ascii.

Where, I mean at what point of the process is it interpreted as Ascii?
The issue is the same in firefox, chromium, opera (Linux) and edge (Windows 10).
How can I use the translate for amending translations?
Look for instance at Hebrew, Polish etc.
Josef

webhosting:-- webtrees 1.7.17, PHP version 7.3.13, MySQL 5.7.21, testing webtrees 2.0.5-dev
local desktop:-- webtrees 2.0.5-dev, PHP version 7.2.24, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #4

I have the same problem in danish.
Attachments:

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #5

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1931
I think it is safe to assume the server side of webtrees assumes all resources (translation files etc) are encoded as UTF8. Communication between server & web browser usually is no issue.

This is why I asked: how are the translation files put on your server? Was it the auto-upgrade or did you FTP yourself as text files?
Try ftp as binary, see whether that helps...
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #6

The same in german. It looks like a problem at the webtrees translation server.
Martin - ffp.bauschaffen.de

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #7

  • jprause
  • jprause's Avatar Topic Author
  • Away
  • Junior
  • Junior
  • Posts: 182

bertkoor wrote: I think it is safe to assume the server side of webtrees assumes all resources (translation files etc) are encoded as UTF8. Communication between server & web browser usually is no issue.

This is why I asked: how are the translation files put on your server? Was it the auto-upgrade or did you FTP yourself as text files?
Try ftp as binary, see whether that helps...


My answer is: usually using FTP.
But I am sorry to say this is not the main point of the issue.
The main point is that the translated text strings are not displayed in UTF-8.
As mp above says:

The same in german. It looks like a problem at the webtrees translation server.

I add - the same in both any language with diacritics in Latin and all others with other than Latin alphabet.
Josef

webhosting:-- webtrees 1.7.17, PHP version 7.3.13, MySQL 5.7.21, testing webtrees 2.0.5-dev
local desktop:-- webtrees 2.0.5-dev, PHP version 7.2.24, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #8

mp wrote: The same in german. It looks like a problem at the webtrees translation server.


I agree.

Similar issue: the english text has incorrect characters, not the italian translation.
And at this moment, the server seems too slow.

Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my bad english...]
Attachments:

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Incorrect display of translated text 1 year 7 months ago #9

Today is a strange day...
Few minutes after, I see this...

The first text now is correct, the second one no...

Waiting for news!
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my bad english...]
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by littlegolf.

Incorrect display of translated text 1 year 7 months ago #10

  • jprause
  • jprause's Avatar Topic Author
  • Away
  • Junior
  • Junior
  • Posts: 182
Please could somebody examine this issue?
Is it on my side or is the webtrees translation server kind of corrupted?
Thank you.
Josef

webhosting:-- webtrees 1.7.17, PHP version 7.3.13, MySQL 5.7.21, testing webtrees 2.0.5-dev
local desktop:-- webtrees 2.0.5-dev, PHP version 7.2.24, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
Before I went on holiday, there was a failed upgrade on the translation software ("weblate").

I restored from backup - but it looks like this caused the encoding error.

The upgrades for weblate always cause many problems, and I am about 20 versions behind the latest code.

I plan to upgrade the server itself in the next two weeks (which will also cause problems for weblate because it is very sensitive to the exact versions of libraries, etc.).

So, I will sort out weblate after I have upgraded the server.
This may mean that I need to make a clean install - which would lose all the user accounts.

None of the translations in webtrees should be affected.

I have taken the site offline until the problems are fixed.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 7 months ago #12

  • jprause
  • jprause's Avatar Topic Author
  • Away
  • Junior
  • Junior
  • Posts: 182
@fisharebest: thanks for your reply. It's good to know what's on.
I keep my fingers crossed for you.
Josef

webhosting:-- webtrees 1.7.17, PHP version 7.3.13, MySQL 5.7.21, testing webtrees 2.0.5-dev
local desktop:-- webtrees 2.0.5-dev, PHP version 7.2.24, MySQL 5.7.25, Apache2 2.4.29, Linux Ubuntu 18.04 64bit

Please Log in or Create an account to join the conversation.

Incorrect display of translated text 1 year 5 months ago #13

translate.webtrees.net/projects/webtrees/webtrees/ still not working

502 Bad Gateway

Do you have time to deal with this problem? Any progresses with it?

Best wishies...

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum