From: Sudheera R. F. <sud...@op...> - 2005-09-28 06:49:19
|
On Wed, 2005-09-28 at 12:08 +0600, Chamindra de Silva wrote: > Sudheera R. Fernando wrote: > > Would it be possible to manage text alignment and justification > > programatically in an efficient way. For example if we neet to support > > languages like Arabic or Hebrew we need to have bidirectional text > > support. We can achieve that by using CSS properties like direction and > > unicode-bidi. > Theoretically you should be able to do it. PHP after all is an effective > templating system and does not have to be restricted to generate > XHTML. Lets try some programatic CSS and see how well it works. It > definitely would make this structure much simpler and the work involved > much less. > Agreed. I'll look in to possible ways of generating the localized CSS dynamically according to the available locales. So Prabhath you can go ahead with the standard CSS with the normal directory structure (with out any localization) We can do something like prefixing the resources with the locale code ( e.g: en_US_<image_name>.ext ) to distinguish between different localized resources (or the standard one which would be just <image_name>.ext). Sudheera. |