Re: translation files

Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]> Wed, 18 May 2005 00:06:03 +0200
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
B. Kamer wrote:
> How is a translation file bound to its php file. I known it must be  in
> a directory 'lang'. I do not know whether the file in that  directory
> are only used if this directory is located at the package  'root'
> directory (like:binarycloud/auth/lang/). Not any  subdirectories of
> that.  (like: binarycloud/auth/authenticators/ authorizers/lang/)
> 
> It looks like the second directory in this example is a relic from 
> phing times since it contains files like Strings.en.xml (not  converted
> by a automatic script like others?).
> 
> So i believe all strings should go into [binaryloud|vortex|app]/
> [package]/lang/*.xml but need that confirmed...

See i18n/TranslationManager::getTranslations
Seems to me that lang/ dir must be directly in the root of the package.

-- 
Jean-Christophe Michel
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev