Skip to content

Instantly share code, notes, and snippets.

@shivabhusal
Created August 8, 2019 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shivabhusal/84b4d9365bc88843c5249aa41ff57688 to your computer and use it in GitHub Desktop.
Save shivabhusal/84b4d9365bc88843c5249aa41ff57688 to your computer and use it in GitHub Desktop.
rails i18n for nepali language. put this file to config/locale dir
np:
date:
abbr_day_names:
- आईत
- सोम
- मंगल
- बुध
- बिही
- शुक्र
- शनि
abbr_month_names:
-
- जन.
- फेब्रु.
- मार्च
- अप्रिल
- मई
- जुन
- जुलाई
- अगष्ट
- सेप्ट.
- अक्टो.
- नोभ.
- डिसे.
day_names:
- आईतबार
- सोमबार
- मंगलबार
- बुधबार
- बिहीबार
- शुक्रबार
- शनिबार
formats:
default: ! '%Y-%m-%d'
long: ! '%B %d, %Y'
short: ! '%b %d'
month_names:
-
- जनवरी
- फेब्रुवरी
- मार्च
- अप्रिल
- मई
- जुन
- जुलाई
- अगष्ट
- सेप्टेम्बार
- अक्टोबर
- नोभेम्बर
- डिसेम्बर
order:
- :year
- :month
- :day
datetime:
distance_in_words:
about_x_hours:
one: लगभग 1 घण्टा
other: लगभग %{count} घण्टा
about_x_months:
one: लगभग 1 महिना
other: लगभग %{count} महिना
about_x_years:
one: लगभग 1 बर्ष
other: लगभग %{count} बर्ष
almost_x_years:
one: झण्डै 1 बर्ष
other: झण्डै %{count} बर्ष
half_a_minute: आधा मिनेट
less_than_x_minutes:
one: 1 मिनेटभन्दा कम्ति
other: ! '%{count} मिनेटभन्दा कम्ति'
less_than_x_seconds:
one: 1 सेकेण्डभन्दा कम्ति
other: ! '%{count} सेकेण्डभन्दा कम्ति'
over_x_years:
one: 1 बर्षभन्दा बेसी
other: ! '%{count} बर्षभन्दा बेसी'
x_days:
one: 1 दिन
other: ! '%{count} दिन'
x_minutes:
one: 1 मिनेट
other: ! '%{count} मिनेट'
x_months:
one: 1 महिना
other: ! '%{count} महिना'
x_seconds:
one: 1 सेकेण्ड
other: ! '%{count} सेकेण्ड'
prompts:
day: दिन
hour: घण्टा
minute: मिनेट
month: महिना
second: सेकेण्ड
year: बर्ष
errors: &errors
format: ! '%{attribute} %{message}'
messages:
accepted: स्वीकार गरिनुपर्नेछ
blank: खाली हुन सक्दैन
confirmation: पुष्ठिकरणसँग मेल खाँदैन
empty: रित्तो हुन सक्दैन
equal_to: ! '%{count} सँग बराबर हुनुपर्नेछ'
even: जोर संख्या हुनुपर्नेछ
exclusion: प्रयोगको लागी संरक्षित छ
greater_than: ! '%{count} भन्दा बेसी हुनुपर्नेछ'
greater_than_or_equal_to: ! '%{count} सँग बराबर अथवा बेसी हुनुपर्नेछ'
inclusion: सुचीमा सामेल गरिएको छैन
invalid: अमान्य छ
less_than: ! '%{count} भन्दा कम हुनुपर्नेछ'
less_than_or_equal_to: ! '%{count} सँग बराबर अथवा कम हुनुपर्नेछ'
not_a_number: अंक होईन
not_an_integer: पुर्णाकं हुनुपर्नेछ
odd: बिजोर संख्या हुनुपर्नेछ
record_invalid: ! 'मान्य भएन: %{errors}'
taken: पहिल्यै प्रयोग गरीएको छ
too_long:
one: धेरै लामो छ (अधिक्तम 1 character हो)
other: धेरै लामो छ (अधिक्तम %{count} characters हो)
too_short:
one: धेरै छोटो छ (न्युनत्तम 1 character हो)
other: धेरै छोटो छ (न्युनत्तम %{count} characters हो)
wrong_length:
one: गलत लम्बाई हो (1 character हुनुपर्नेछ)
other: गलत लम्बाई हो (%{count} characters हुनुपर्नेछ)
template:
body: ! 'तलका क्षेत्रधारकहरु समस्याहरु देखियो:'
header:
one: 1 गल्तीले यस %{model} लाई बचत गर्नबाट रोक्यो
other: ! '%{count} गल्तीले यस %{model} लाई बचत गर्नबाट रोक्यो'
helpers:
select:
prompt: कृपया छान्नुहोस्
submit:
create: ! 'नयाँ %{model} बनाउ'
submit: ! '%{model} बचत गर'
update: ! '%{model} सामयिक बनाउ'
number:
currency:
format:
delimiter: ! ','
format: ! '%u%n'
precision: 2
separator: .
significant: false
strip_insignificant_zeros: false
unit: $
format:
delimiter: ! ','
precision: 3
separator: .
significant: false
strip_insignificant_zeros: false
human:
decimal_units:
format: ! '%n %u'
units:
billion: Billion
million: Million
quadrillion: Quadrillion
thousand: हजार
trillion: Trillion
unit: ''
format:
delimiter: ''
precision: 3
significant: true
strip_insignificant_zeros: true
storage_units:
format: ! '%n %u'
units:
byte:
one: Byte
other: Bytes
gb: जि.बी.
kb: के.बी.
mb: एम.बी
tb: टि.बी
percentage:
format:
delimiter: ''
precision:
format:
delimiter: ''
support:
array:
last_word_connector: ! ', र '
two_words_connector: ! ' र '
words_connector: ! ', '
time:
am: बिहान
formats:
default: ! '%a, %d %b %Y %H:%M:%S %z'
long: ! '%B %d, %Y %H:%M'
short: ! '%d %b %H:%M'
pm: बेलुका
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
activemodel:
errors:
<<: *errors
activerecord:
errors:
<<: *errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment