Hy interested ones,
using Zend_Translate with a software version control system like SVN or CVS can drive developers crazy when you use directory search. This is due to the fact that all files are searched and added.
In the special case of a VCS system also the VCS directories are searched and added which often hold a complete but old version of the source file. This leads to the behaviour that old messageids are also added and presented. Your developer will not know why he get’s only old translations or wrong encoded files.
To solve this behaviour I added a new option ignore which defaults to ‘.’. All directories and files beginning with the value of this option will be ignored.
Now with this new option for example all .svn directories are ignored and not added. So your developer will always see the latest translation files.
You could change this option, for example, to ignore .svn if you want to have other . files and directories like .tmp or .source still added.
Thomas Weidner, I18N Team Leader, Zend Framework
Hy interested ones,
I have good and bad news for you.
The bad news are that due to minor BC changes and the lack of time from the dev-team, which has to review the changes in the API, all new features from the I18N core are delayed until release 1.7.
This is also the case for the application wide locale which I described a chapter before. But, and this is more bad, most fixed issues will also be delayed until 1.7.
The good news are that the new release is scheduled for end September. But you can use all new features already when you are using the trunk.
What has been changed until now for the I18N core:
* I integrated an application wide locale… all I18N components can reuse an instance of Zend_Locale when registered in Zend_Registry.
* I integrated the new CLDR 1.6.1… it add’s not only several more complete informations for different languages, but also new data which will be added soon… for example, telephone data, character fall back rules, unit names just to mention some of them
* A new measurement class for time duration has been added
More things will come soon.
Another good thing is that Zend_File_Transfer was cored yesterday. It is officially available for release 1.6. Also here new features will be available soon, but not until 1.6.
I will keep you informed.
Thomas, I18N Team Leader, Zend Framework