hi,

is it possible for me to contribute in indonesian language translate?
i'm trying to create new file in languages name : id.py in my application 
after that i've define  :

*gluon/contrib/plural_rules/id.py*
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for id (Indonesian)

nplurals=2  # Indonesian language has 2 forms:
            # 1 singular and 1 plural

# Determine plural_id for number *n* as sequence of positive
# integers: 0,1,...
# NOTE! For singular form ALWAYS return plural_id = 0
get_plural_id = lambda n: int(n != 1)

# Construct and return plural form of *word* using
# *plural_id* (which ALWAYS>0). This function will be executed
# for words (or phrases) not found in plural_dict dictionary
# construct_plural_form = lambda word, plural_id: (word + 'suffix')

but i still got :
( Plural-Forms: rules are not defined (file *
gluon/contrib/plural_rules/id.py* is not found) )

what should i do to define the rules?

another question is i compare the the new id.py file that i've created in 
my application have different parameter like the others language files that 
web2py have been provided for example :
!=
%(nrows)s records found
%d seconds ago*
*
, etc....
*
*
is it crucial or not? or i must copy manual from the language folder and 
translate it one by one (not via web browser)?
after that how can i share the translate id.py file?

thank you so much for the advise.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to