Description

For non English users we need language packs for Zend_Validate we can use.
A infrastructure which allows people to review en commit translations should be placed on the website like with other open source packs.

Otherwise everyone is doing it's own translations. This is a lot of double work!

Comments

Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-10-07T22:42:33.000+0000

Hello, Kristof.

For example, you mean Zend_Filter_Alpha and Zend_Filter_Alnum should be customizable for each languages?

(Zend_Filter_Alpha and Zend_Filter_Alnum are used in Zend_Validate_Alpha and Zend_Validate_Alnum.)

Posted by Kristof Vansant (lupus) on 2008-10-08T00:22:40.000+0000

protected $_messageTemplates = array(
self::IP_ADDRESS_NOT_ALLOWED => "'%value%' appears to be an IP address, but IP addresses are not allowed",
self::UNKNOWN_TLD => "'%value%' appears to be a DNS hostname but cannot match TLD against known list",
self::INVALID_DASH => "'%value%' appears to be a DNS hostname but contains a dash (-) in an invalid position",
self::INVALID_HOSTNAME_SCHEMA => "'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'",
self::UNDECIPHERABLE_TLD => "'%value%' appears to be a DNS hostname but cannot extract TLD part",
self::INVALID_HOSTNAME => "'%value%' does not match the expected structure for a DNS hostname",
self::INVALID_LOCAL_NAME => "'%value%' does not appear to be a valid local network name",
self::LOCAL_NAME_NOT_ALLOWED => "'%value%' appears to be a local network name but local network names are not allowed"
);

protected $_messageTemplates = array(
self::INVALID => "'%value%' is not a valid email address in the basic format local-part@hostname",
self::INVALID_HOSTNAME => "'%hostname%' is not a valid hostname for email address '%value%'",
self::INVALID_MX_RECORD => "'%hostname%' does not appear to have a valid MX record for the email address '%value%'",
self::DOT_ATOM => "'%localPart%' not matched against dot-atom format",
self::QUOTED_STRING => "'%localPart%' not matched against quoted-string format",
self::INVALID_LOCAL_PART => "'%localPart%' is not a valid local part for email address '%value%'"
);

etc

Posted by Thomas Weidner (thomas) on 2008-10-08T03:43:37.000+0000

There is already a issue for this one...
No need to have it twice.

Still, this issue depends on other like ZF-3164, ZF-4311, ZF-1998, ZF-1877, ZF-4371.
I see this more as part of the this proposal:
http://framework.zend.com/wiki/pages/…
even if it's not exactly the same.

Alex:
Would you mind if I take over the work internationalisation, collecting and so on also for this component ?
I see this as part of I18N.
Please give me a reply what you think.

Posted by Thomas Weidner (thomas) on 2009-10-26T13:21:15.000+0000

Closing as fixed.

Resources for english and german are available within incubator.
Acceptance for core has been requested.