<div class="gmail_quote">On Sun, Apr 25, 2010 at 11:25 AM, Alexander Sidorov <span dir="ltr"><<a href="mailto:alexidsa@gmail.com">alexidsa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!<br><br>Is there any way to implement the following localization strategy:<br>1. display russian (russian is just for example) name if it exists<br>2. display english name if russian name doesn't exists<br>3. display local name otherwise<br>

<br>The problem for me is to determine which language is used for some region by default. I have found <a href="http://wiki.openstreetmap.org/wiki/Talk:Proposed_features/Language_of_this_element" target="_blank">this discussion</a> but without solution. <br>

<br>Regards,<br><font color="#888888">Alexander<br>
</font><br></blockquote><div><br>The proposed feature is clearly not a solution since it is suggesting to add the same tag "language=xxx" in ALL named elements within the region. I think the right approach would be to set this default language in the polygon identifying the region, most probably in the administrative boundary relation. Then you could build up a query to apply this default value in your local gis db. (or deprecate the tag name and force the locale suffix).<br>
<br>Pieren<br></div></div>