I using google translate to translate the entire of my site. but i want Google don't translate some name. Example on this link. http://ulundanu.gusdecool.com/facilities/restaurants
There is name “Ulun Danu Restaurant”, when we translate it into Indonesia. It change into "Pura Ulun Danu Restaurant". I want google didn't translate that part. How to do that?
maybe is there some option put some class on it to make google understand not translate that part.
Just add class="notranslate" to any HTML element to prevent that element from being translated.
<span class="notranslate">Ulun Danu Restaurant<span>
Google Translate Help-Preventing translation of your webpages
Related
I am trying to translate a text thats inside a map field.
This is how the collection is set up. I want to translate the "Text" field.
I tried "test.textDoc.*.text", but "dot notion" doesn't seem to work. I even tried "test/textDoc/{random}/text".
For the Translate Text extension to work, the text to translate has to be in a known, fixed field in your document. In our example, that'd be ocnuwen.text, but the ocnuwen cannot be variable.
Keep in mind that Firebase Extensions are open-source, so you can use the source code of that extension as a template for your own - and tweak it to your needs.
Am I able to construct a custom URL using Heremap? For example, with Bing Map, I'm able to contruct a custom URL with various parameters and set the link to something like this for the user to click on:
https://bing.com/maps/default.aspx?rtp=adr.One%20Microsoft%20Way,%20Redmond,%20WA%2098052~pos.45.23423_-122.1232_MyPlace&rtop=0~1~0
This is the instructions for Bing Map to do this, but I can't find something similar for Heremap:
https://learn.microsoft.com/en-us/bingmaps/articles/create-a-custom-map-url
I don't see it documented anywhere, but I figured out a few ways to do this with the HEE We Go site.
To search by address or name, you can create a URL like: https://wego.here.com/search/[query]
For example: https://wego.here.com/search/One%20Microsoft%20Way,%20Redmond,%20WA%2098052
You can add ,[map style] if you want to also set the map style. where the map style can be; normal, satellite, terrain, traffic, or public_transport.
For example; https://wego.here.com/search/One%20Microsoft%20Way,%20Redmond,%20WA%2098052,satellite
If you want to go straight to a coordinate, you can use the following format:
https://wego.here.com/?map=[latitude],[longitude],[zoom],[map style]
For example: https://wego.here.com/?map=47.62114,-122.34654,18,satellite
I have the following <html> text:
Text
How should I do for getting "Text" value? I am trying with this, but I get an empty value:
=INDEX(importxml("http://www.remoteurl.com";"//a[#href='link.html']");1)
I tried using your syntax and it worked for me. I shortened it a little for testing purposes.
=importxml("https://www.remoteurl.com","//a[#href='link.html']")
Be sure that the href value you are passing in the xpath query is exactly what is present on the web page, e.g. if the web page uses a relative path then you must also use the same relative path.
I was doing it properly, but the problem is that coding was inside an iframe, so it was impossible to reach it.
How to tell Google to not translate some text file in a text file? This is my sample text file:
"hp1": "Swipe to the right to reveal the left menu.",
"hp2": "(On desktop click and drag from left to right)",
"ht": "Welcome",
"TITLE": "Welcome",
"name":"Gowrisankar Reddy"
google converting above one like this
"hp1": "ఎడమ మెనుని బహిర్గతం చేయడానికి కుడివైపుకు స్వైప్ చేయండి.",
"hp2": "(డెస్క్టాప్ క్లిక్ చేసి ఎడమ నుండి కుడికి లాగండి)",
"ht": "స్వాగతం",
"TITLE": "స్వాగతం",
"పేరు": "గౌరీశంకర్ రెడ్డి"
I don't want to convert "name". How can I do that?
I am not using HTML, using text file only.
Thanks.
I am using google translate not used any code
Google Translator can normally skip translations by HTML tags with class notranslate.
But since it has a built-in html parser, as a hack, you can pretend one or more words are a tag.
<name> will not get translated
Another hack is to capitalize NAME
How can I change language used on map buttons and terms of use ? I am using Google Maps API 2 (to be exact ASP.NET GoogleMap control v4.1)
Does this depends from browser language. I can see on some sites that this text is localized and can't find any way to do that.
Here is the screenshot of text that I would like to localize:
Use the hl-parameter when including the gMap2-library
e.g: force croatian to be used as language:(hl=hr)
<script
src="http://maps.google.com/maps?hl=hr&file=api&v=2&sensor=false&key=yourKey"
type="text/javascript"></script>
When using V3 the parameter-name will be language instead of hl