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

Support of Norwegian languages #59

Closed
W34therwax opened this issue Dec 21, 2020 · 3 comments
Closed

Support of Norwegian languages #59

W34therwax opened this issue Dec 21, 2020 · 3 comments

Comments

@W34therwax
Copy link

hello!

thanks for that awesome lib. Would it be possible to add support for Norwegian Bokmål and Nynorsk? It's a requirement for project I work on to have those two supported. Thanks in advance!
https://en.wikipedia.org/wiki/Nynorsk
https://en.wikipedia.org/wiki/Bokm%C3%A5l

@santa112358
Copy link
Owner

Hi @W34therwax, To add the language to support, we need to add new regular expression in this file: https://github.com/santa112358/hashtagable/blob/master/lib/decorator/hashtag_regular_expression.dart
You can see there are regular expressions for the languages. I am searching the regular expressions for Bokmål and Nynorsk, but I haven't found them yet.

If the languages use alphabet and there are a few original letters(like Spanish), we can support it by pasting the original letters.
example: https://github.com/santa112358/hashtagable/blob/master/lib/decorator/hashtag_regular_expression.dart#L11
If that is the case, please let me know and paste the letters here. Thank you.

@W34therwax
Copy link
Author

hey, thanks for explaining :). So it turns out for both of those languages special letters are the same and just those:

å, ø, æ

@santa112358
Copy link
Owner

@W34therwax
Now hashtagable v1.0.6+1 supports Norwegian Bokmål and Nynorsk🎉

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