Many transnational agreements include the protection (regarding some aspects) of regional or minority languages and/or their users. Usually, these covenants propose a number of measures to improve the situation of regional or minority languages and/or their users. If a nation state decides to ratify such a treaty, it commits itself to carrying out the measures proposed.
On Mercator's Wiki, you can find more information on legislation on:
This list of conventions is not exhaustive, but aims to mentions some influential ones.