Page 1 of 1

VL-Web: How to disapper google transrate in application settings.

Posted: Tue Dec 01, 2020 5:34 pm
by Rieko Saitoh
Hi all,

I would like to disapper "google transrate" popup in VL-Web.
I can hide it in the chrome settings, but I would like to hide it in the application settings. Because I will expose the VL-Web site to a large number of users.

I'm thinking of two methods.
1.Run VL-Web with <html lang = "ja">
When I run VL-Web, it runs with <html lang="en">. But I would like to run it with <html lang="ja">.

2.Run VL-Web with <meta name = "google" value = "notranslate" />
I can hide it by embedding <meta name = "google" value = "notranslate" /> maybe.

Here's what I would like to know:
1. How to specify <html lang="ja"> on VL-Web
2. How to specify <meta name = "google" value = "notranslate" /> on VL-Web
3. Other ways to disapper Google Translate.


Could you anyone give me some information?
Thank you for your support.

Best regards,
Rieko Saitoh
LANSA japan

Re: VL-Web: How to disapper google transrate in application settings.

Posted: Thu Dec 03, 2020 3:08 am
by Dino
Hi

Regarding:

"How to specify <html lang="ja"> on VL-Web"

you can define X number of languages at the partition level. In each language you can specify an ISO language code.
The most likely way will be to define a language JPN and put ja in the ISO language code, then run your application indicating lang=JPN instead of the default lang=ENG ... but you could also put ja instead of en for ENG... not sure what other repercussions could this create if you take this later option.

Notice that if you are working in the IBM, you will do this in the housekeeping menu, languages. If you are working in Windows, you will do this in the Repository/Partitions Definition.

Re: VL-Web: How to disapper google transrate in application settings.

Posted: Mon Dec 07, 2020 12:36 pm
by Rieko Saitoh
Hi Dino,

Thank you for your reply.
In our environment, the partition default language is set to Japanese and VL-Web runs with lansa=jpn. But, it runs with <html lang="en">...
I think this behavior may be a specification.
Thank you for your help!!

Best regards,
Rieko Saitoh

Re: VL-Web: How to disapper google transrate in application settings.

Posted: Thu Dec 10, 2020 12:44 am
by Dino
I ran a test and I see what you mean. maybe better to report this to support.
jpn2.png
jpn2.png (156.78 KiB) Viewed 10331 times
you can add html to the web page with the html container control... but, while the text in it could be a meta tag like this

Code: Select all

#Html1.Html := '<META NAME="geo.placename" CONTENT="Place Name">'
it will appear inside a <DIV> inside the <BODY> section, not the <HEAD>, so I don't think it will have a chance to be read or identified correctly.

Re: VL-Web: How to disapper google transrate in application settings.

Posted: Tue Feb 02, 2021 4:07 pm
by Rieko Saitoh
Hi Dino,

I reported this behavior to the support team and found it to be a defect. It will be fixed in the future.
Thank you for your support!!

Best regards,
Rieko Saitoh
LANSA japan