<commit_before>//= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
<commit_msg>Add Arabic Pluralization Rules for Client<commit_after>//= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>

I18n.pluralizationRules['ar'] = function (n) {
  if (n == 0) return "zero";
  if (n == 1) return "one";
  if (n == 2) return "two";
  if (n%100 >= 3 && n%100 <= 10) return "few";
  if (n%100 >= 11) return "many";
  return "other";
};

{'fraction_non_alphanumeric': 0.20039292730844793, 'fraction_numerical': 0.04518664047151277, 'mean_word_length': 4.3125, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3419601', 'n_tokens_mistral': 222, 'n_tokens_neox': 196, 'n_words': 49}