Good afternoon.
Is there any implementation of the declinations of areas/cities that are tightened to the site from Yandex maps?
Ie, by default, displays just, for example, "Moscow oblast". As you can realize the decline "in the Moscow region"?
all the names of the fields in the nominative case end in "th" right? city_name.replace("th ", "th ");
and the word region "region" is always the last, and it is necessary to replace the last character "s" with "and"
city_name.substring(0, str.length - 1);//remove last character
city_name = city_name + "and";