Skip to content

Comments

Add Romanian locale#176

Open
christianpana wants to merge 2 commits intosimov:masterfrom
christianpana:master
Open

Add Romanian locale#176
christianpana wants to merge 2 commits intosimov:masterfrom
christianpana:master

Conversation

@christianpana
Copy link

Description

This PR adds the Romanian locale to the locales.json file, making it available to use with the locale option.

There are a few special letters in the Romanian alphabet (https://en.wikipedia.org/wiki/Romanian_alphabet) but these seem to be already covered by the charmap.json file. Hence, they're not included in the locales.json file.

Tests for the romanian locale added to test/locales.js.

Example

slugify('Ă & ă', {locale: 'ro'})

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

Successfully merging this pull request may close these issues.

1 participant