language selection in HTML block

odibio
3 Posts
odibio posted this 27 November 2022
Ask a Question

How do I change the inclusion of a piece of Javascript based on language. Actually, it not even a change of the js, but just a piece of the link I need to change based on language:

it is only the piece of "&lang=nl"

How do I change the inclusion of a piece of Javascript based on language. Actually, it not even a change of the js, but just a piece of the link I need to change based on language: it is only the piece of "&lang=nl"
Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 28 November 2022

Hi Dave,

Please explain in more details what you are trying to achieve and attach a screenshot of the code that you want to change.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Dave, Please explain in more details what you are trying to achieve and attach a screenshot of the code that you want to change. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
odibio
3 Posts
odibio posted this 28 November 2022

attached a screenshot of the included JS I use to place my shop on page. in the scripts URL, you see the part where the language of the shown script is being called. in this case lang=en. When using the multi language in Nicepage, the script does not change when shifting between languages. How can I make the language part change with language (or split the entire HTML into a part to use in Dutch and a part to use in English)

attached a screenshot of the included JS I use to place my shop on page. in the scripts URL, you see the part where the language of the shown script is being called. in this case lang=en. When using the multi language in Nicepage, the script does not change when shifting between languages. How can I make the language part change with language (or split the entire HTML into a part to use in Dutch and a part to use in English)
Support Team
Support Team posted this 06 December 2022

Hi Dave,

Sorry for the delay in replying. Unfortunately we do not provide support for such custom code, I hope that could find out how to place the code so the language would change.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Dave, Sorry for the delay in replying. Unfortunately we do not provide support for such custom code, I hope that could find out how to place the code so the language would change. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
odibio
3 Posts
odibio posted this 07 December 2022

Ok, let me rephrase: how can I import a different piece of HTML for each language?

Ok, let me rephrase: how can I import a different piece of HTML for each language?
Support Team
Support Team posted this 15 December 2022

Dave,

Unfortunately, it is not possible out of the box.

...................................................
Sincerely,
Alan R.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Dave, Unfortunately, it is not possible out of the box. ................................................... Sincerely, Alan R. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments