Every country has its own hierarchy of administrative districts as you can see here: https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country
For France this would be regions (adminDistrict), departments (adminDistrict2), arrondissements (boroughs/adminDistrict3), and cantons (adminDistrict4) Looking around, I can't find any information on "counties" in France, only the administrative district types I mentioned.
Locality is often used for cities, towns, municipalities, or similar areas.