Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding languages #91

Closed
Opadera opened this issue Feb 8, 2018 · 1 comment
Closed

adding languages #91

Opadera opened this issue Feb 8, 2018 · 1 comment

Comments

@Opadera
Copy link
Contributor

Opadera commented Feb 8, 2018

Hi,

i translated leaflet-measure into several languages (hu,sl,sk,ro,cz) and would like to share them with you.
I don't fully comprehend how the localization structure works so I'll just post it here hoping someone with more understanding can integrate it.

hu = {
'measure': 'Mérés',
'measureDistancesAndAreas': 'Távolság- és területmérések',
'createNewMeasurement': 'Egy új mérés elvégzése',
'startCreating': 'Végezzen mérést pontok elhelyezésével a térképen.',
'finishMeasurement': 'Mérés befejezése',
'lastPoint': 'Utolsó pont',
'area': 'Terület',
'perimeter': 'Szegély',
'pointLocation': 'Pont helyzete',
'areaMeasurement': 'Mért terület',
'linearMeasurement': 'Mért távolság',
'pathDistance': 'Kijelölt vonal távolsága',
'centerOnArea': 'Közelítés erre a területre',
'centerOnLine': 'Közelítés erre a vonalra',
'centerOnLocation': 'A település közepére igazítani',
'cancel': 'Mégse',
'delete': 'Törlés',
'acres': 'Holnap',
'feet': 'Láb',
'kilometers': 'Kilométer',
'hectares': 'Hektár',
'meters': 'Méter',
'miles': 'Mérföld',
'sqfeet': 'Négyzetláb Feet',
'sqmeters': 'Négyzetméter',
'sqmiles': 'Fedvények',
'decPoint': ',',
'thousandsSep': ' '
};

[others to follow]

@brandoncopeland
Copy link
Contributor

Please submit a PR with the appropriate JSON files added to the languages directory. That's all that is required to add a new translation. Submit each language as a separate PR. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants