ZF-9930: Spanish translation for Zend_Validate messages
Description
Hi,
Please find attached the Spanish (es_ES) translation of the Zend_Validate messages. This should be put under /resources/languages/es/
I can't find this alredy there as of r22347
Hi,
Please find attached the Spanish (es_ES) translation of the Zend_Validate messages. This should be put under /resources/languages/es/
I can't find this alredy there as of r22347
Comments
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-06-01T16:02:07.000+0000
thank you for contributing. However, no file was attached.
Posted by Carlos Aguado (caaguado@xcentra.com) on 2010-06-01T16:03:08.000+0000
Please note that the file revision fields and associated information should be updated within the file before committing it to trunk.
Posted by Carlos Aguado (caaguado@xcentra.com) on 2010-06-01T16:05:29.000+0000
Hi Dolf,
Now there's one. Sorry, it's my first improvement report and it took me a while to find my way.
Cheers, Carlos.
Posted by Thomas Weidner (thomas) on 2010-06-03T03:49:34.000+0000
The added resource files have 2 problems. I would ask to correct them because I dont want to add files which have problems before they have been integrated.
Note that the resource files must be kept up to date with the english resources, otherwise it could be that the spanish resources are deleted in future.
Posted by Carlos Aguado (caaguado@xcentra.com) on 2010-06-03T13:54:30.000+0000
Hi Thomas,
Thanks for your feedback. Please note that I've just compared the current version of file /standard/trunk/resources/languages/en/Zend_Validate.php (r22365) in trunk with the corresponding one delivered in ZF 1.10.5 (r22306) and they're both identical. As I made the translation on the 1.10.5 (r22306) version of the file, the translations should be fully valid now and onwards, at least until new validation messages are added to Zend_Validate_*.
Apart of that, I honestly can't find the 2 faults you mention, but if you tell me where they are located, I'll be more than happy to fix them and re-post the corrected file. I fully agree no defective files should be integrated in trunk.
Thanks, Carlos.
Posted by Thomas Weidner (thomas) on 2010-06-04T06:44:47.000+0000
Actual Trunk gives the following errors:
as you can see there are 2 failures for the language "es". I tested with r22365 as mentioned by you.
Posted by Carlos Aguado (caaguado@xcentra.com) on 2010-06-04T09:47:11.000+0000
Hi Thomas,
Ummmmmm, I see. I really don't understand what happened. Anyway, the attached file should now be fixed. Actually, the 2 assertion failures were for the same wrong Zend_Validate_Identical message, one for the key that shouldn't be there, the other one for the key that was missing.
Thanks for the feedback!
Best regards, Carlos.
Posted by Thomas Weidner (thomas) on 2010-06-04T14:42:31.000+0000
Added with r22375
Note: Keep in mind to keep this language up to date. Otherwise it could be reverted from core (ru, sv, sr and uk will probably be reverted for the next release)
Posted by Thomas Weidner (thomas) on 2010-06-04T14:46:17.000+0000
Reopened:
The given file contains invalid characters. &xxx; character encoding is not allowed.
All content have to be given in UTF8. Please change the resource file.
Posted by Carlos Aguado (caaguado@xcentra.com) on 2010-06-04T15:42:35.000+0000
Hi Thomas,
Here you go! The new attached file is purely in UTF-8. Besides, as I read all the strings again to remove HTML entities, I also corrected some few minor errors, so the translations are a bit more "accurate" now.
Excuse my ignorance: I understand the need for UTF-8, but it shouldn't have anything to do with whether certain HTML entities are used or not, right? For example, ZF makes use of PHP's htmlentities() in different parts of the framework to escape content that could perfectly be in UTF-8, and still HTML entities are thus used. So, is this more a style decision, or has it a "deeper" intention?
Thanks for your patience. As I said, I'm new contributing ZF and I'd like to continue learning along the process, so any feedback is, again, welcome!
Best regards, Carlos.
Posted by Thomas Weidner (thomas) on 2010-06-04T16:07:29.000+0000
Thank you.. I'll commit it tomorrow.
UTF-8: The translations are not only used for HTML but also for other views. So it is not fixed that we have htmlentities in place. Therefor all content (especially translations) must be given as UTF-8.
Beside that it is a rule for ZF itself that everything has to be given in UTF-8.
Posted by Thomas Weidner (thomas) on 2010-06-05T13:14:41.000+0000
Implemented with r22386