A problem with the Arabic translation of a path to an app

Q&A about the latest versions
Post Reply
klonk
Posts: 17
Joined: Mon Mar 21, 2016 10:09 am

Hello everyone,
I have a problem with the translation of a hotspot link to an app in the Arabic translation of my tour:
In a polygon hotspot, I specify a path to an app in a higher level. (See screenshot)
This works in my German and English tours, where the app is found and can be used.
Unfortunately, this path “../../index.html” is also exported in the .pot file, even though I did not click on Hotspots and Media. In the .po file, the path is then right-aligned to “index.html/../..”. .
I assume that because it is right-aligned, the path is no longer interpreted correctly in the Arabic version and the app cannot be found.
I cannot remove this link from the translation for the Arabic version in Poedit so that it is simply not translated.
Does anyone know how I can solve this problem?
thanks so much for answers.
regards
Stephan
Bildschirmfoto 2025-09-12 um 20.05.56.png
Bildschirmfoto 2025-09-12 um 20.05.56.png (25.93 KiB) Viewed 6118 times
User avatar
Hopki
Gnome
Posts: 13546
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Sorry for the late reply.
This is a known issue, in the PO file there is a special character that inverts the text.
This breaks any file paths.
What you need to do is open the "ar.po" file with a text editor.

In the following example, there is an image popup which is using "dog.jpg".
When translating we want the image to change to cat.jpg.

When you open the .po file you would see:

Code: Select all

#. Node: node1 / Point Hotspot: Point01 / Image File
msgid "dog.jpg"
msgstr ""cat.jpg

Note the two double quotes next to each other, there is also a hidden character that inverts the text.
What you need to do is delete the double quotes, then add them back in the correct positions.

Code: Select all

#. Node: node1 / Point Hotspot: Point01 / Image File
msgid "dog.jpg"
msgstr "Cat.jpg"
Move the cat.jpg in the images folder and that will get you going
I have attached both the "working" project as well as the "broken" project.

This would be the same for your file path.

Regards,
Attachments
working_project.zip
(68.9 KiB) Downloaded 207 times
broken_project.zip
(69.36 KiB) Downloaded 260 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply