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

Add Swedish (SV-se) language support #197

Merged
merged 1 commit into from
Jan 19, 2016
Merged

Conversation

pixelthing
Copy link
Contributor

Hi - thanks for a really nice little date range picker. Here's the Swedish localisation (I'm from the UK, but living in Sweden).

I'll also have a go at making it mobile friendly - so maybe another pull request soon!

longbill added a commit that referenced this pull request Jan 19, 2016
Add Swedish (SV-se) language support
@longbill longbill merged commit 9a10b7f into longbill:master Jan 19, 2016
@danielheddelin
Copy link

"måned" is spelled "månad" and a cpl minor errors. This is probably a better swedish language definition:
se: {
selected: 'Val:',
day: 'dag',
days: 'dagar',
apply: 'godkänn',
'week-1': 'må',
'week-2': 'ti',
'week-3': 'on',
'week-4': 'to',
'week-5': 'fr',
'week-6': 'lö',
'week-7': 'sö',
'month-name': ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december'],
shortcuts: 'snabbval',
'custom-values': 'Anpassade värden',
past: 'över',
following: 'följande',
previous: 'föregående',
'prev-week': 'vecka',
'prev-month': 'månad',
'prev-year': 'år',
next: 'nästa',
'next-week': 'vecka',
'next-month': 'månad',
'next-year': 'år',
'less-than': 'Datumintervall bör inte vara mindre än %d dagar',
'more-than': 'Datumintervall bör inte vara mer än %d dagar',
'default-more': 'Välj ett datumintervall längre än %d dagar',
'default-single': 'Välj ett datum',
'default-less': 'Välj ett datumintervall mindre än %d dagar',
'default-range': 'Välj ett datumintervall mellan %d och %d dagar',
'default-default': 'Välj ett datumintervall',
time: 'tid',
hour: 'timma',
minute: 'minut'
}
And besides - I can't find any documentation on how to implement a custom language definition?

@holtkamp
Copy link
Collaborator

Thanks for the feedback, can you provide a pull-request?

I can't find any documentation on how to implement a custom language definition?

We tried to separate the language files, but without succeeding. Not sure whether injecting your own language definitions is currently possible.

#333
#336

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.

4 participants