Help Center

Powered by Minitek FAQ Book
Loading...

Script Error when change the language

PL
Philipp LangnerPosted 2 years ago

Hello, I created a German language file for the component in the German language folder and started to translate the file. Merely copying the original English file in the German language folder causes a script error. What can I do to translate the search into the correct language? The error message looks like this:

Uncaught TypeError: Cannot read properties of undefined (reading 'site_path')
    at new MinitekLiveSearch (miniteklivesearch.js?e878ba988228a13cf1be6f5dde132374:8:38)
    at Object.initialise (miniteklivesearch.js?e878ba988228a13cf1be6f5dde132374:1744:13)
    at HTMLDocument.<anonymous> ((Index):149:23)

Loading...
0
#3988

8 answers

M
MinitekPosted 2 years agoModerator

Hi there,

Can you please send me a copy of the german language file?

(you can zip the ini file in order to upload it as an attachment to this ticket.

PL
Philipp LangnerPosted 2 years ago

I began to translate first phrases, the rest is still english. The file is attached. Thank you! :)

PL
Philipp LangnerPosted 2 years ago

I began to translate first phrases, the rest is still english. The file is attached. Thank you! :)

PL
Philipp LangnerPosted 2 years ago

Okay, the .zip file couldn't be uploaded.

M
MinitekPosted 2 years agoModerator

You can convert the ini file to txt, or you can just send me FTP access.

M
MinitekPosted 2 years agoModerator

With the FTP access I can find the issue immediately.

PL
Philipp LangnerPosted 2 years ago

Good morning, I just set up the German language file again and the problem is obviously solved. Although I didn't actually do anything differently than before. At least the search now works normally in German. Thank you anyway for your trouble and sorry if all this was for nothing here!

M
MinitekPosted 2 years agoModerator

No worries. Let me know if you need more help.