ZF-4514: language packs
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" );
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.
Posted by Satoru Yoshida (satoruyoshida) on 2009-11-29T16:47:17.000+0000
Hi, thomas. Can I add ja/Zend_Validate.php to incubator/resources/languages/ ?
Posted by Thomas Weidner (thomas) on 2009-11-29T22:54:23.000+0000
There is still no acceptance.
It could be that it is wished to change the used format or that other points have to be done before migrating it to core.
And we have also to keep the revision where the resouce is build from. Otherwise there would be no way to know which messages have changed and which not.
You could add it, but you must keep track of any changes I am doing within 'en' and 'de' as I will not move other languages to core ( I don't understand them ;-) )
Posted by Satoru Yoshida (satoruyoshida) on 2009-11-29T23:10:46.000+0000
Thank You for quick responce.
I see , I will wait for Your moving trunk and being released in core ;-)
Posted by Mickael Perraud (mikaelkael) on 2009-11-30T02:00:28.000+0000
French is really easy to learn ;)