Who to limit a textbox to a list of words, not admitting any other - textbox

I apologize for my English.
I wanted to know how I can limit a textbox to a list of words, not admitting any other.
Example: {London, Lisbon, Paris, Rome, Madrid}, the user can only type these words.
How to do this...
Thankful for the help

Related

How to design a system in Google Sheets that allows for people who don't speak the same language to know they're typing the same thing

I admit this is a strange request. Essentially myself and another person who speaks Mandarin need to work on scheduling asynchronously through a spreadsheet. If either of us enters something in, in our respective sections, it should update the other person's section to match. So If I changed Order 1 on Day 1 from Apple to Butter, it should look at the translated text for Butter in Chinese and update the dropdown list entry for Order 1 on Day 1 from Apple to Butter
Unfortunately it doesn't seem like there's anyway to add formulas to dropdown lists. Any advice here?
I created a super simplified spreadsheet of what I'm looking for Spreadsheet
there is a GOOGLETRANSLATE formula:
also, you have DETECTLANGUAGE that outputs the language code:
both of them (DETECTLANGUAGE is able to work with vertical arrays only) are not supported under ARRAYFORMULA so you will need to drag them around. also, it's worth mentioning that formulae are always 1-directional so you can have a dropdown to be translated but that translated output can't be used directly as the input for back-translation creating a paradox. with a scripted solution, you may have more flexibility tho.

Excel Help - I want to replace multiple words in a paragraph to one single world and do this for 200 individual keywords

So I have a spreadsheet - https://docs.google.com/spreadsheets/d/16XLkjZafBSSdYZaSI9LLflOMvK40WgXsbrbE7Wqcwj8/edit?usp=sharing
Here is a basic sentence about football where I've written hottie 3 times.
"Hottie has taken the top spot in the Guardian's list of the world's top 100 footballers published today. See the full list and how it breaks down by nationality, club and position. An 11-strong international panel of hottie were asked by Guardian Sport to name their top 30 players in action today and rank them in order of preference. hottie were then scored on their ranking by each panellist: a No1 choice allocated 30pts, No2 29pts and so on down to selection No30, given one point."
Now, I have a list of 50 other players (Check the spreadsheet please)
How do I change the word hottie (all 3 times it's occuring) and replace it to the football player's name and do this for 50 of them automatically using this.
Please let me know, your response would be appreciated!!!
Thanks :)
Try :
=SUBSTITUTE(SUBSTITUTE(A2,"Hottie","hottie"),"hottie",B2)
Please share if it works/understandable/not.

What's the best way to order list of countries in French from a usability standpoint?

I have a list of countries that I would like to display in a dropdown menu. Now, because of their french translations, the list either needs to be re-ordered, or countries need to be rewritten.
For example, Canary Islands is translated into Îles Canaries in french. Should I re-order the list so that all Îles are grouped togheter? Or should I write it as Canaries, Îles. Additionally, will people be able to navigate to Îles by typing the accented Î?
I agree it should be Isles first - stick with how someone would say the name. For example United States is Etas-Unis - or States United - but you wouldn't reverse the order to match English convention.
Why would you go for "Canaries, Îles"? Just to keep the English order?
Imagine that an English list would have that as "Islands, Canary"
Translate the way a native would expect it (in French)
Sort it following the French rules
Find it when the user types Î, and I
In general internationalisation is not hard: just turn the table and think what would you want if a German or French software is translated into English.

adwords ads shows for one word keyword but i have only two word keywords

I have they keywords in google adwords
foam puzzle
kids puzzle
toys puzzle
but my ad shows when you type only one word keyword "puzzle"
why ?
how can i force showing me ads only for these three two-word keywords ?
Thanks
You need to investigate the keyword Match Types on offer - broadly speaking we have:
An exact match keyword matches exactly the string you use (more or
less - there are still some close variants, & depending on campaign
settings, plurals)
A Phrase match matches any string containing your keyword - for
example: red kids puzzle
A broad match matches "similar" things to your keywords (you can
also "modify" this match type by preppending + to words in your keywords but
I'll leave you to research that yoourself).
More info:
https://support.google.com/adwords/answer/2497836?hl=en

GeoIP nearest (closest) country

Guys i have a little problem, i tried to find some examples on GeoIP based system that expands searches based on nearest neighbor countries. For example the visitor is from UK and tries to find IPs from France, Spain, Belgium etc. not for example Brazil, Argentina, China. So how can i get nearest countries from a given country/IP and expand incrementing the distance?
Edit: I'm using the free Max-mind version, since i don't care about cities that much. And my project is C# based.
Well, the first step to reduce the problem is to use basic geography, and categorize the countries by continents.
From there you can make a list of distances of within a given continent, and sort based on those "distances" or "weights".
The geographic distance (e.g. km or miles) between capital cities should be a "good enough" approximation to get started if you want to be fancy. I bet you could even find such a list with a bit of searching on the Internet.
From there you have the "post-office problem" (Knuth) or "nearest neighbor search" optimization problem, and in this case I suspect you can [REWORDED] simply go with a linear search within the continents partitions. If you need better performance, then an approximate algorithm approach should suffice. (answers are not guaranteed to be best solution, but should be reasonable most of the time)
Note this form of geography based "routing" is weak in a few exceptional cases, such as Cuba, which does not get Internet access from its (naive) obvious geographic neighbor, USA, and some "black-hole" type countries due to political relations. North Korea and Tibet I suspect are similar cases.
Maxmind gives you the Lat/Long of each country, so you can just calculate the difference of your country to the others and you're done. See this thread for geolocation distance calculation or use a library of your choice.
But keep in mind the the geo location of a country is just a single point somewhere in this country and not the nearest point to you.

Resources