plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
19.93k stars 1.06k forks source link

Update Location library version #4366

Closed ruslandoga closed 2 months ago

ruslandoga commented 2 months ago

Fixes https://github.com/plausible/analytics/issues/4375

Changes

This PR updates https://github.com/plausible/location to the latest version. The most significant changes include the addition of new region names and updated translations for both new and existing regions.

More regions have names, e.g.:

Before: https://plausible.io/plausible.io/regions?filters=((is,country,(KZ))) After: https://pr-4366.review.plausible.io/plausible.io/regions?filters=((is,country,(KZ)))

But notice there are duplicate region names now, since they are grouped by code and not by name. The codes were renamed in 2022-11-29: https://en.wikipedia.org/wiki/ISO_3166-2:KZ#Changes

More regions have translations, e.g.:

Before: https://plausible.io/plausible.io/regions?filters=((is,country,(QA))) After: https://pr-4366.review.plausible.io/plausible.io/regions?filters=((is,country,(QA)))

Before: https://plausible.io/plausible.io/regions?filters=((is,country,(AE))) After: https://pr-4366.review.plausible.io/plausible.io/regions?filters=((is,country,(AE)))

Before: https://plausible.io/plausible.io/regions?filters=((is,country,(CU))) After: https://pr-4366.review.plausible.io/plausible.io/regions?filters=((is,country,(CU)))

Before: https://plausible.io/plausible.io/regions?filters=((is,country,(ID))) After: https://pr-4366.review.plausible.io/plausible.io/regions?filters=((is,country,(ID)))

Tests

Changelog

Documentation

Dark mode

github-actions[bot] commented 2 months ago
|Preview environment👷🏼‍♀️🏗️ | |:-:| | [PR-4366](https://pr-4366.review.plausible.io)
ruslandoga commented 2 months ago

Something I noticed in both before and after the change:


I've created a card for this: https://3.basecamp.com/5308029/buckets/29267832/card_tables/cards/7620180472