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 Nepali (ne) Locale #264

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ This package contains language files for the following languages:
- Macedonian
- Malay
- Norwegian
- Nepali (नेपाली)
- Polish
- Portuguese
- Persian (Farsi)
Expand Down
56 changes: 56 additions & 0 deletions src/Lang/ne.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Date Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the date library. Each line can
| have a singular and plural translation separated by a '|'.
|
*/

'ago' => ':time पहिले',
'from_now' => ':time देखी',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

देखि

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

roger that.

'after' => ':time पछि',
'before' => ':time अघि',
'year' => ':count वर्ष',
'month' => ':count महिना',
'week' => ':count हप्ता',
'day' => ':count दिन',
'hour' => ':count घण्टा',
'minute' => ':count मिनेट',
'second' => ':count सेकेण्ड',

'january' => 'जेनवरी',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

जनवरी

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

roger that. my mistake

'february' => 'फेब्रुअरी',
'march' => 'मार्च',
'april' => 'अप्रिल',
'may' => 'मे',
'june' => 'जून',
'july' => 'जूलाई',
'august' => 'अगस्ट',
'september' => 'सेप्टेम्बर',
'october' => 'अक्टोबर',
'november' => 'नोभेम्बर',
'december' => 'डिसेम्बर',

'sunday' => 'आइतवार',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not वार it's बार :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this should be आईतबार

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. might have to send a PR to nepalipatro.com.np guys! :)

For refrence: http://pustakalaya.org/view.php?pid=Pustakalaya:2943 (Nepali Dictionary)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ankitpokhrel If you look at the dictionary: http://pustakalaya.org/view.php?pid=Pustakalaya:2943

It says अाइतबार (Page 94, entry: अाइत)

'monday' => 'सोमवार',
'tuesday' => 'मङ्गलवार',
'wednesday' => 'बुधवार',
'thursday' => 'बिहिवार',
'friday' => 'शुक्रवार',
'saturday' => 'शनिवार',

'sun' => 'आइत',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be आईत

'mon' => 'सोम',
'tue' => 'मङ्गल',
'wed' => 'बुध',
'thu' => 'बिहि',
'fri' => 'शुक्र',
'sat' => 'शनि',

];