Assalam alaykom,

This is ajoomla website and it is a module that is not language
aware(Attached) please update it you can use these functions to get the
language properties:


===== get main name language =====
$lg = &JFactory::getLanguage();
$language = $lg->get('name');
echo $language;


===== get direction language (sample : check farsi and arabic) =====
$lg = &JFactory::getLanguage();
$language = $lg->get('rtl');
if ($language)
echo $language;



===== get name language =====
$lg = &JFactory::getLanguage();
$language = $lg->get('name');
echo $language;

===== get code page language =====
$lg = &JFactory::getLanguage();
$language = $lg->get('winCodePage');
echo $language;

===== get name language =====
$lg = &JFactory::getLanguage();
$language = $lg->get('backwardLang');
echo $language;

If you have worked on joomla before you might try to make the module 1.5
NATIVE it is currently legacy (it was built using an old module)...

wassalam

On Sat, Apr 25, 2009 at 3:33 PM, James Nykiel <[email protected]> wrote:

> أحمد المحمودي wrote:
>
>> السلام عليكم،
>>
>> On Sat, Apr 25, 2009 at 08:32:36AM +0300, fadi al-katout wrote:
>>
>>> On Fri, Apr 24, 2009 at 10:12 PM, أحمد المحمودي <
>>> [email protected]> wrote:
>>>
>>>> Isn't there any other way to indicate languages except country flags ?
>>>> I suggest a drop down menu.
>>>>
>>> other ways don't include drop down menu!
>>>
>>>  Btw, the hijri calendar looks great, yet in arabic webpage, the month
>>>>  name appears in english !
>>>>
>>>>
>>>>  this is amodule I did but it needs some extra work... for the moment I
>>> can
>>> make it display arabic all the time but it is not language aware not
>>> yet...
>>>
>> ---end quoted text---
>>
>>  Yesterday James wrote to us saying that he's a web developer who would
>>  like to help. James, can you give a hand in this ?
>>
>>
> As-Salamu Alaykum,
>
> Brothers, I would like to help as requested, please tell me the URL of the
> web page with language awareness issues so that I may have a look at what
> needs to be done.
>
> Salam,
>
>
>
>
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~sabily.team<https://launchpad.net/%7Esabily.team>
> Post to     : [email protected]
> Unsubscribe : 
> https://launchpad.net/~sabily.team<https://launchpad.net/%7Esabily.team>
> More help   : https://help.launchpad.net/ListHelp
>

Attachment: mod_ghijridate_1.0.0.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Mailing list: https://launchpad.net/~sabily.team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sabily.team
More help   : https://help.launchpad.net/ListHelp

رد على