Discuss Scratch
- Discussion Forums
- » Suggestions
- » Country detectors
- MagentaDude1359
-
Scratcher
100+ posts
Country detectors
However broad it may be, Scratch shouldn't have to ask for your GPS location. I've seen many parents getting super angry in the forums because a project asked for microphone access and they think that Scratch is now going to record them and give them a virus (somehow).too bad that was posted in 2016, i would love to see those posts lol
-snip-
i support the country detection if it would just use your profile's set location instead of your gps location
- seriouslyscratchy1
-
Scratcher
100+ posts
Country detectors
They should make a “location not given” change to be “United States” by default. After all, that is where the Scratch website is based.I disagree with that because not everyone lives in the USA. I don't live in the USA, Griffpatch doesn't live in the USA. And only 33.33% of all scratchers live in the USA
- spraypaintdev
-
Scratcher
100+ posts
Country detectors
Umm some people might do this
*In another sprite*
Basically, people could create contraptions making their project unplayable in other countries. But other than that, I think this is a good idea.
if <(Country) = [Ummm IDK]> then
say [I DONT LIKE THAT COUNTRY!!!!!!]
broadcast [Crash project v]
end
*In another sprite*
when I receive [Crash project v]
create clone of [myself v]
when I start as a clone
create clone of [myself v]
delete this clone
Basically, people could create contraptions making their project unplayable in other countries. But other than that, I think this is a good idea.
Last edited by spraypaintdev (Jan. 1, 2025 13:52:28)
- AHypnoman
-
Scratcher
1000+ posts
Country detectors
-snip-Yes, though in a similar way to how you can put racist/xenophobic content in a project already, this would be reportable.
- 1THEKINGBOB3
-
Scratcher
500+ posts
Country detectors
Umm some people might do thisYou also cant crash scratch this way, that would make about (one?) cloneif <(Country) = [Ummm IDK]> then
say [I DONT LIKE THAT COUNTRY!!!!!!]
broadcast [Crash project v]
end
*In another sprite*when I receive [Crash project v]
create clone of [myself v]
when I start as a clone
create clone of [myself v]
delete this clone
Basically, people could create contraptions making their project unplayable in other countries. But other than that, I think this is a good idea.
- Cool_kid092
-
Scratcher
500+ posts
Country detectors
it should be
(country) :: #31bef7 sensing reporter
Last edited by Cool_kid092 (Jan. 6, 2025 19:09:56)
- ametrine_
-
Scratcher
1000+ posts
Country detectors
I disagree with that because not everyone lives in the USA. I don't live in the USA, Griffpatch doesn't live in the USA. And only 33.33% of all scratchers live in the USAthen what do you propose it should default to?
- AHypnoman
-
Scratcher
1000+ posts
Country detectors
It doesn't need to default to anything - it can stay as ‘location not given’ until they change it.I disagree with that because not everyone lives in the USA. I don't live in the USA, Griffpatch doesn't live in the USA. And only 33.33% of all scratchers live in the USAthen what do you propose it should default to?
Though if it has to, maybe Antarctica? Since it isn't really a country.
I can't see why it should default to the US given <1/3 of Scratchers live there.
Though this suggestion isn't really about that.
Last edited by AHypnoman (Jan. 6, 2025 18:41:06)
- cake__5
-
Scratcher
100+ posts
Country detectors
this would be the block i would want if this gets accepted
ipv4::sensing reporter
ipv6 if setup::sensing reporter
using vpn?::sensing boolean
Last edited by cake__5 (Jan. 6, 2025 20:01:04)
- AHypnoman
-
Scratcher
1000+ posts
Country detectors
-Please create a new topic if you have suggestions of your own
- Lilith_umbreon
-
Scratcher
7 posts
Country detectors
I would just like to add that scratch has something that sounds like what you were looking for. It is a detect language button. First go to the screen where you get the pen and the text to speech. There is a translate pack, if you click on it it gives you two blocks, a translate block and a language detector block. So you can for example, (say “good” translated into |language| For 2 seconds) I hope this was helpful, I might’ve gotten the names wrong.
- aklejandrios
-
Scratcher
54 posts
Country detectors
I have a suggestion that I only used for country and continents but it can be used for all locations scratch would just need to add a few different blocks
set (country) to (usercountry::sensing)
Define usercountry
forever(check country? (username::sensing) ::sensing)::control
forever(Set block value to (join (country::sensing)(username check::sensing)::operators)::control)::control
set (continent ) to (usercontinent::sensing)
Define usercontinent
forever(check continent? (username::sensing) ::sensing)::control
forever(Set block value to (join (continent::sensing)(username check::sensing)::operators)::control)::control
- aklejandrios
-
Scratcher
54 posts
Country detectors
let’s hope scratch might make this
Last edited by aklejandrios (April 16, 2025 00:17:22)
- YibaseTheCreator202
-
Scratcher
18 posts
Country detectors
maybe we could make a list of countries that speaks certain languages, like:
English: UK, USA, Canada (partially), Australia, New Zealand etc.
Portuguese: Portugal, Brazil, Cape Verde, Angola, Mozambique etc.
Spanish: Spain, Mexico, USA (2nd language), Nicaragua, Colombia etc.
That way, you could say
English: UK, USA, Canada (partially), Australia, New Zealand etc.
Portuguese: Portugal, Brazil, Cape Verde, Angola, Mozambique etc.
Spanish: Spain, Mexico, USA (2nd language), Nicaragua, Colombia etc.
That way, you could say
set [language number v] to (item # of (language::translate) in [Languages v])
set [all probable countries v] to (item (language number) of [countries v] :: list)
Last edited by YibaseTheCreator202 (May 6, 2025 13:13:53)
- andycobo
-
Scratcher
10 posts
Country detectors
I think it would be awesome to have a ‘Country’ block. It would help a lot on many of my projects. It would be like this(Country)
I need a script that goes likewhen backdrop switches to [backdrop5 v]Basically like that but for most countries that are able to access Scratch.
if <(Country) = [UK]> then
switch costume to [English tutorial1 v]
else
if <(Country) = [France]> then
switch costume to [French tutorial1 v]
end
If there is a way to do this sort of thing already, I apologise. I just couldn't find a way to do it and had no matching answers on Google for a tutorial on how to do this. I also apologise if there's already a suggestion on this. I actually need the script for my project to be of any use.
That may also be a good idea to do automatic language change instead of the scratcher selecting the language through a sprite
- eurokid4
-
Scratcher
37 posts
Country detectors
I think it would be awesome to have a ‘Country’ block. It would help a lot on many of my projects. It would be like thisYou know you can do your example with the language block in the text-to-speech extension(Country)
I need a script that goes likewhen backdrop switches to [backdrop5 v]Basically like that but for most countries that are able to access Scratch.
if <(Country) = [UK]> then
switch costume to [English tutorial1 v]
else
if <(Country) = [France]> then
switch costume to [French tutorial1 v]
end
If there is a way to do this sort of thing already, I apologise. I just couldn't find a way to do it and had no matching answers on Google for a tutorial on how to do this. I also apologise if there's already a suggestion on this. I actually need the script for my project to be of any use.
- CodeComet6161
-
Scratcher
1000+ posts
Country detectors
So:Congratulations! #1 on this was implemented!(language :: sensing) // gives the language that the scratcher is using scratch inI really like this idea. Support!
(country :: sensing) // gives the country the scratch has selected on their profile
What would the (country) block return if the scratch had no country selected? Just a “No Given Location,” or maybe undefined?
As with the username block, it should have a “This project can detect which country you have selected on your profile,” and “This project can detect which language you have selected,” What would happen if you had multiple of these messages?
(language)Anyways support. This would be useful for many things.
Last edited by CodeComet6161 (Aug. 18, 2025 22:09:20)
- Haycat2009
-
Scratcher
100+ posts
Country detectors
Suggestion: For country, use the country that the user inputs (So if it says “North Korea” on their profile, the same will be outputted in the country block - even if you are actually in South Korea or USA.). This will be an implementation that does not need GPS - and does not invade privacy too much.
There is no need for a default because Scratch asks you to set a country when you create an account. You cant skip that step.
There is no need for a default because Scratch asks you to set a country when you create an account. You cant skip that step.
Last edited by Haycat2009 (Aug. 9, 2025 01:08:30)
- OmarCraftPC
-
Scratcher
11 posts
Country detectors
(current [location v])
or
(current [country v])
would be good
- Discussion Forums
- » Suggestions
-
» Country detectors
















