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 fa locale. #22

Merged
merged 1 commit into from
Apr 11, 2022
Merged

Add fa locale. #22

merged 1 commit into from
Apr 11, 2022

Conversation

b4rdia
Copy link
Contributor

@b4rdia b4rdia commented Dec 19, 2021

Added Farsi locale for Persian language.

@melloware
Copy link
Member

@b4rdia Is there any way I could get you to do a Farsi translation for PrimeFaces? We have one but its old and basic.

In PrimeFaces we have two files to translate a client side and server side translation. Below are the two English full translations:

Client: Client English JS File

Server: Server English Properties File

I know its asking a lot but the PF community would really appreciate it!

@b4rdia
Copy link
Contributor Author

b4rdia commented Dec 24, 2021

Yeah, I'd be happy to.

@melloware
Copy link
Member

Thank you! You can either paste me the files and I can submit the PR or however you want to do it.

@b4rdia
Copy link
Contributor Author

b4rdia commented Dec 31, 2021

@melloware Just submitted the PR for translations.

@melloware
Copy link
Member

melloware commented Apr 6, 2022

@b4rdia The full amount of translatable values is this:

{
   "en":{
      "startsWith":"Starts with",
      "contains":"Contains",
      "notContains":"Not contains",
      "endsWith":"Ends with",
      "equals":"Equals",
      "notEquals":"Not equals",
      "noFilter":"No Filter",
      "lt":"Less than",
      "lte":"Less than or equal to",
      "gt":"Greater than",
      "gte":"Greater than or equal to",
      "dateIs":"Date is",
      "dateIsNot":"Date is not",
      "dateBefore":"Date is before",
      "dateAfter":"Date is after",
      "custom":"Custom",
      "clear":"Clear",
      "apply":"Apply",
      "matchAll":"Match All",
      "matchAny":"Match Any",
      "addRule":"Add Rule",
      "removeRule":"Remove Rule",
      "accept":"Yes",
      "reject":"No",
      "choose":"Choose",
      "upload":"Upload",
      "cancel":"Cancel",
      "dayNames":["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
      "dayNamesShort":["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
      "dayNamesMin":["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
      "monthNames":["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
      "monthNamesShort":["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
      "today":"Today",
      "weekHeader":"Wk",
      "firstDayOfWeek":0,
      "dateFormat":"mm/dd/yy",
      "weak":"Weak",
      "medium":"Medium",
      "strong":"Strong",
      "passwordPrompt":"Enter a password",
      "emptyFilterMessage":"No available options",
      "emptyMessage":"No results found"
   }
}

If you update your PR I will merge it.

@melloware melloware merged commit e29d026 into primefaces:main Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants