Localization Failure: Temperature Is Hard
randomascii.wordpress.com
randomascii.wordpress.com
Room temperature is approximately 293 K, twice that is 586 K / 595 °F / 313 °C. Hotter than your typical oven cooking temperature.
We often don't realize how warm the world we live in truly is, from a physics standpoint.
Incidentally, why is the degree immune to disappearance in division unlike all other units? That is, if I divide a distance (m) by a speed (m/s) I get a duration (s). From sheer memory, degree doesn't work like that. Any clue why?
"0° on a circle" (for example) doesn't make sense. It has to be 0° _from somewhere._
The perimeter of a circle for example.
- - -
Further, Radians is another measurement of angle, but it is not "degrees radian"
I understand why one could say that, but I’d say it’s more misleading than helpful. (And the reason why is directly connected to the problem TFA discusses.)
Instead of temperature, let’s look at time first.
If you’re measuring the temporal extent of an event, then it absolutely makes sense to divide 30s by 15s or 6 days by 3 days and obtain a dimensionless 2: one thing takes twice as long as another, and the factor 2 that doesn’t depend on the choice of units, so it’s dimensionless.
Now consider dates. The year AD 2022 denotes (not very precisely) a point in time by specifiying its distance from a fixed reference in years; as another example, astronomers use the “Julian day”, which is a (possibly non-integer) number of days from a different reference point.
And you could technically divide AD 2022 by AD 1011—the ratio between the distances to the reference point is indeed a dimensionless 2, and if you counted days from it instead of years it’d still be the same. But it’s just not a very useful statement. And if you divide the Julian days instead, you’ll get a different number, because the reference point has moved 4712 years. So you can divide the time coordinates as long as the chosen origin stays in place, but you can’t really divide points in time.
Similarly, when you’re talking about differences in temperature, degrees work like any other unit, but temperatures themselves cannot be divided in the standard scales (without tying yourself to the scale): you’ll get the same result in Celsius and Réaumur (using the same origin) but a different result in Fahrenheit (using a different origin).
Of course, the silly part is that there is a natural origin for temperature, it’s just that the usual scales don’t use it. But then there’s a natural origin for time as well (and you’ll occasionally see it used in cosmology), it’s just that it’s metrologically inconvenient (being known only very approximately) in addition to being very far away.
(Library assignment: what defines a coordinate system on an affine line?)
We didn't really have a better word for units of temperature, as "Celsiuses" or "Farhenheits" didn't become a thing, so "degrees (of) Celsius" or "degrees (of) Fahrenheit" is kind of what we're left with. We could have chosen to say "degrees (of) kelvin", but we decided to go with "kelvins" (like "meters" or "seconds") instead. It's just a choice of language.
Temperature does have dimensionality, but it's weird because it's a bulk property of a particular material. If you consider two stars, you can add their masses, or their volumes, and the resulting values are meaningful. But you can't add their temperatures. You can't even average their temperatures meaningfully without knowing the relative sizes of the stars and a bunch of other information either.
That said, I can't think of a situation where degrees (of temperature?) would disappear in a mathematical operation. Can you give a specific example?
I regret that the decades that have elapsed since I studied physical chemistry & thermodynamics don’t permit me to make a proper answer, but if you want this to make sense I believe you should look many orders of magnitude smaller- Boltzman’s derivation of the ideal gas law from Newtonian mechanics using statistical methods.
Temperature is basically thermal density; it’s not really a fundamental unit. Chemical engineers use steam tables all the time to convert temperature to heat or other quantities.
It's not. If you divide temperature by temperature (T/T) you get unitless value. But it doesn't make sense (what does it mean Kelvins per Kelvin?) Your mistake is to take a scalar value for temperature: 300 K / 2 = 150 K (T/scalar = T).
It isn't because it is a relative scale, Rankine uses degrees and it is an absolute temperature scale just like Kelvin. The difference, I'd say, is that the Rankine scale didn't go though the SI standardization process.
There is nothing special with division, "degree Celsius" is the unit, you can't separate the "degree" from the "Celsius". You can measure a thermostat dial in degrees Celsius per degree (of angle). The resulting unit is just that, not "Celsius".
When talking about the weather or everyday objects, one could argue that the border between "hot" and "cold" is somewhere at room temperature, so around 21°C. At that temperature, it's neither hot or cold. If it's 30°C, it's 9°C of "hotness", so 39°C would be twice as hot. I don't know if it feels twice as hot, as that's quite subjective, but if you want more precision we should switch to another vocabulary entirely.
- I know someone who wears a puffy jacket indoors if it's 24 degrees.
- You will find sitting in 20 degrees with 88% humidity much more miserable than 20 degrees and 33% humidity.
- 42deg with 20% humidity and slight breeze is fine, 38deg with 90% humidity can make you pass out in minutes if you need to walk anywhere in the sun.
Looking at the wind chill chart[0] for frostbite times, there is nothing particularly special around the freezing point temperature, even at absurd wind speeds. Ironically, actually, the 0 point for Fahrenheit is far more relevant threshold for frostbite.
See also my other comment here: https://news.ycombinator.com/item?id=37928268
The difference between 20°C and 25°C is 5K.
Which will probably even match your subjective feeling.
Celsius scales thermodynamically logarithmically. You can’t just double the numbers. (The same with sound etc.)
This is as opposed to decibel for sound, where +10 decibel means X10 power exactly.
Except for the ones that go at different rates.
Or cold? There is a big ball in our solar system sitting at tens of millions of degrees K, and you think 273 degrees is warm?
So a temperature of 43 degrees Celsius is 18 Celsius degrees hotter than 25 degrees Celsius.
32 Fahrenheit degrees are equivalent to 18 Celsius degrees; but 32 degrees Fahrenheit is equivalent to 0 degrees Celsius.
(There's no real need to do this when using absolute units, but I'd still pluralise the interval and not the absolute value: 316 kelvin is 25 kelvins hotter than 291 kelvin.)
Modern SI no longer bothers, and just calls the unit ‘kelvin’. Why should you?
I learned this relatively late in my life, but it was so an insight. From one hand it is just obvious facts, but from the other hand they are nicely categorized and so feels like you have learned something completely new.
The solution is to not localize for Americans.
If you're moving the target to the Anglosphere, we have to count the whole population consumming content in English as their second of third language, so the US becomes a way tinier portion of it.
I'll give you that for The Guardian, a US newspaper with US subscribers, the US market is extremely important. The broader case is harder to make.
By “Anglosphere” I don’t mean everyone who speaks English. I mean the countries whose primary language is English and whose majority culture originally descends from England: at least the US, UK, Australia, Canada, and New Zealand. (A few other countries like Ireland or parts of South Africa don’t fit the strict definition but have a long and close association with England so can be thought of similarly. My point here is not to debate to what extent Ireland is culturally similar to England which is of course a controversial subject).
People in these countries consume much of the same media and are much more culturally similar to each other than they are to people in e.g. India or the Philippines, even the ones who speak native-level English.
> The Guardian, a US newspaper with US subscribers
The Guardian is British.
Touché.
> By “Anglosphere” I don’t mean everyone who speaks English
Thanks, point taken.
All American countries outside the USA already use °C
https://www.cia.gov/the-world-factbook/references/weights-an...
Nitpick: Celsius is not an SI unit.
Answering the substantive point: it’d be nice if we switched to SI units (plus Celsius); personally my phone is already set to display those and I wish we’d join the rest of the world and do standard stuff. However, I think it’s extremely unlikely to ever happen. The deadlocked US political system makes it impossible to enact any reform on any topic that anyone can create controversy about, and that includes switching to international standard units.
https://en.wikipedia.org/wiki/Metrication_in_the_United_Stat...
> The degree Celsius is ... one of two temperature scales used in the International System of Units (SI), the other being the Kelvin scale.
Edit: To expand, within SI Celsius is defined as a derived unit, and Kelvin is a base unit.
C is the global standard
(−): 𝗔 × 𝗔 → 𝗩 — gives the translation from a point to another point, and
(+): 𝗔 × 𝗩 → 𝗔 — applies a translation to a point.
(For convenience we can also write 𝒂 − 𝒗 = 𝒂 + −𝒗 for all 𝒂 ∊ 𝗔, 𝒗 ∊ 𝗩).
The Celsius and Fahrenheit scales are affine, and technically should have separate units for temperatures and temperature differences so that mishaps like in TFA would be less likely to happen.
They’re pretty much part of the guardian’s dna:
> Frequent typographical errors during the age of manual typesetting led Private Eye magazine to dub the paper the "Grauniad" in the 1970s, a nickname still occasionally used by the editors for self-mockery
(68F is not a temperature — it’s a seat number.)
I appreciate the ASCII-only excuse, but I've corrected the omission anyway. Non-ASCII characters in randomascii - what will they think of next?
> 278 °K to 283 °K,
There's no ° symbol before the kelvin unit, just a regular non-breaking space if you want to be SI-compliant.
68:degrees:FIt's another question how they obtain that from coulombs...
[1] https://physics.nist.gov/cuu/Units/checklist.html (number 15).
Never did that again.
I worked on a package to globalize a consumer-oriented fintech reporting product. With ESG reporting this has become increasingly important to get the unit conversions and Delta's right. You end up mapping the data source units to locale targets.
In Python, the Pint framework plus Babel locales are excellent.
Of course, liters make way more sense than either of these.
Also, I’ve no idea if that history is true, but it sounds plausible.
https://randomascii.wordpress.com/2016/03/01/cars-in-canada-...
I understand if you are getting a human to translate each sentence you can just point them to the right phrases but my understanding is that you're translating text in bulk via machine translation. For scales in which the conversion is linear and the starting point is zero, this task is relatively trivial. For scales like temp where the zero points are different, you need to treat deltas different from absolute values. For scales where one is the inverse of the other, there's a lot of very tricky edge cases that make machine translation hard.
If I say "recalculate the celcius to farenheit rewriting as little as possible in this sentence: Malawi swelters in record heat with temperatures nearly 20C above average"
Attempt 1. Malawi swelters in record heat with temperatures nearly 36°F above average.
Attempt 2. Malawi swelters in record heat with temperatures nearly 68°F above average.
My favorite anecdote is the scientist who carried arround and shook a bottle for two weeks to distill the water for experiments in finding when water boiled. When the water exploded after heating he found that not only did he not know when water boiled, but now he wasn't even sure what boiling was.
----
Reading the article I found this:
parts of Malawi saw a maximum temperature of 43C (109F), compared with an average of nearly 25C (77F)
As I expected the actual temperature increase was 32 °F, not 68 °F.
---
Except the error should have been 32 (which you go on to explain, because we add 32 to start a conversion) and the correct temp difference should have been 36 (20 * 1.8) which is shown later in the article.
I can see getting that wrong, but the actual temps quoted seems to correctly portray 32 opposed to 36 like we would expect.
Just rounding errors or some other oddness?
Correction, 68°F.
> So 20 °C is either 78 °F
It's still 68°F.
It drives me nuts, most sites are geolocating me instead and serving me Spanish content. My browser is always sending accept language, and it's most often ignored than not, even frommthe big old web players (Google and Wikipedia to name a few)
Open source is also quite reasonable, except from the latest features that didn't get translated yet.
Apart from that, only local software seems to understand the language.
There is hope, however. ChatGPT does quite well translating. You can still see the original English words in the Dutch text, but at least it doesn't descend into total gibberish.
It's also really good at doing things like synonyms. We used this to improve our icon search by letting it come up with comma separated lists of alternatives for each icon name. Worked really well too.
And it can do fictional languages. We did a pirate speak localization a few weeks ago for international pirate day. Just for giggles but it works.
For instance the word "speaker" can mean both someone that presents, or a loud-speaker playing music ("høgtaler"). If you tell a translator to translate the string "Speakers:" for a heading, they can't know the context. I once saw a conference program bragging about their loud-speakers in my language..
Related, but a few years ago the Norwegian broadcaster NRK asked people how the visualize a year. https://nrkbeta.no/2018/01/01/this-is-what-the-year-actually... (English version)
Quite interesting how different people are. Mostly it's a clock of sorts. To me however it's more of a sine wave, where each year is one phase (summer on bottom), but it's kinda fractally so if I zoom in it got bumps for the months, smaller bumps on there again for the weeks etc.
I wonder if visualizing a year as a circle is a particularly Norwegian thing, or if I’m the odd one out anywhere…
Back to the subject of which day the week begins: I’d say the fact that the week begins on Sunday doesn’t have much of a meaning in US culture, if any. If I say “next week” at work, it clearly means “the next M-F period”. If I wanted to refer to Saturday and Sunday I’d say “this weekend”. So if what I normally mean by a week begins on Monday and ends on Friday, you have to slot the weekend on one of those ends, and it feels slightly wrong whichever way you do it.
So, the only practical, concrete way in which “the week starts on Sunday” means anything to Americans is that we are used to seeing calendars printed with Sunday on the left, and Saturday on the right. I continue to maintain that this is arbitrary! But it does make me really confused when I have to use a calendar widget in an interface that wasn’t localized, and starts with a day other than Sunday, so I get your frustration.
It's a bit like decimal point vs. decimal comma. Neither is inherently better, but man would it have been nice if we'd all picked the same one.
No disagreement there!
The real question is why the weekend was defined as straddling the last and first days of the week. Weird.
When I travel to the US/UK I _do_ actually want to start seeing distances in miles (I'm "bilingual" with m/km, it's useful to think in distances that locals understand and that match signage). So "just use my home locale's units all the time" wouldn't work (especially for speeds!). So yeah I guess localization is indeed hard!
Honestly I've now just started trying to learn Farenheit! 90 is hot, 70 is nice, 50 is cold, 30 is ice.
A fun trick is that if you install Windows 11 with the "English/Europe" locale, it doesn't install a lot of the bloatware because it's not defined for that location.
Now Firefox added stupid popups offering translating websites written in my native language because the OS is set to English. And they didn't see a need to create a checkbox for that outside of about:config (Mozilla, if you want to get rid of me you can just say so instead of spamming me with popups)
Even the keyboard on my MBP is physically US ANSI, because if you've ever coded more than a hundred lines using brackets on an ISO keyboard you know why.
I managed to get everything right in KDE on my PC though, by some weird way of using "Danish (UK)" or whatever it's called in some specific settings -- I don't even remember how or why but everything worked just right. Sorting, decimal point, app languages, everything. Could never replicate it though.
> However, I still want units in meters, Celsius, dates written sensibly, time in 24h format etc.
but also sensible sorting. I'm currently mixing en_DK, en_IE, en_US, C and cs_CZ (my native language) locales for various LC_*, but it's still not perfect and some apps (such as Thunderbird) ignore this anyway and others (Slack) have only one language setting, so I can select either US with 12-hour time or UK with UK spelling. Does anyone have a solution? Should a write a new locale?
Some videos really only need the title translated and can be now enjoyed by more people: Top 5 Mike Tyson KOs, amazing woodworking techniques, best trick shots of 2023 compilation, dash cam accidents.
If you visit YouTube with your account logged out, these videos are popular and always show up as a recommendation.
Also, some language combinations have pretty good "auto translate captions" experience, so you can turn on the subtitles, too, then you can even enjoy a bit more sophisticated content.