Question

http://127.0.0.1/COM/administrator/index.php?option=com_process_name

when i click on my newly created component form components menu "com_process_name" should be translated from language.ini file but joomla 3.1 is not translating that file properly as shown above.

my com.process.sys_language.ini file

COM_PROCESS_NAME="Hello World"

but when I watch it from extension Manager->manage it shows its proper name Hello World

I am using JOOMLA 3.1.5

my manifest file

<extension type="component" version="3.1" method="upgrade">
    <name>COM_PROCESS_NAME</name>
    <author>Arslan Tahir</author>
    <creationDate>25 DEC 2013</creationDate>
    <copyright>GPL</copyright>

thats how i am including language file

    <languages folder="components/com_process">
               <language tag="en-GB">en-GB/en-GB.com_process.ini</language>
               <language tag="en-GB">en-GB/en-GB.com_process.sys.ini</language>
        </languages>
Was it helpful?

Solution

The URl used to view your component such as:

index.php?option=com_process_name

is generated by the component name com_process_name which cannot be translated. Anywhere else on Joomla, it can be

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top