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

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Rieko Saitoh
Posts: 58
Joined: Sat Apr 30, 2016 11:46 am

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

Post 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
User avatar
Dino
Posts: 472
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

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

Post 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.
Rieko Saitoh
Posts: 58
Joined: Sat Apr 30, 2016 11:46 am

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

Post 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
User avatar
Dino
Posts: 472
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

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

Post 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 10326 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.
Rieko Saitoh
Posts: 58
Joined: Sat Apr 30, 2016 11:46 am

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

Post 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
Post Reply