cakephp / localized

I18n and L10n related CakePHP code
Other
213 stars 179 forks source link

Add polish translation #136

Closed mik-laj closed 8 years ago

dereuromark commented 8 years ago

Looks good.

Sensetivity commented 8 years ago

How about validation rules?

dereuromark commented 8 years ago

Can either go into this one or be a separate PR.

mik-laj commented 8 years ago

Can we talk about this? https://github.com/cakephp/localized/blob/master/src/Validation/PlValidation.php What do you want more?

Sensetivity commented 8 years ago

Sorry, my bad.

dereuromark commented 8 years ago

Phone is missing, but no big deal :)

mik-laj commented 8 years ago

Telephone numbers in Poland are 9 digits long. For mobile phones, the preferred format is AAA-AAA-AAA. For landline phones, the preferred format is AA-BBB-BB-BB, where AA is area code. Occasionally, you can encounter numbers formatted as (AA) BBB-BB-BB. Omitting area code is not permitted, because nowadays it is always required.

Source: https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers

There aren't discussed rules of premium mobile numbers (ex. 72601, 7148, *741126, 72480) Full list on gov page: https://www.uke.gov.pl/tablice/NumerUpo-list.do?execution=e1s1

It also does not contain information about emergency numbers ex.112 - european emergency number, 997 - police.