string - Pluralize method for different language in Ruby on Rails -


i using pluralize method in html files dynamic value user can set per locale.

i.e. if user sets label department german word "abteilung", append 's' per current rails inflection rules pluralize string. resulting word "abteilungs" , there no such word in german.

i researched , there no such inflection rules specific language. there may many such words in many languages can't make custom inflection rules. not using i18n or tr8n internationalizing such words. can suggest can resolve this?


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -