[opencms-dev] Re: language file and modules

Publius Ismanescu publiusi at wwdb.org
Wed Jan 29 17:01:50 CET 2003


Sorry for the mistake:

the language file is :
<?xml version="1.0"?>
<LANGUAGE>
         <name>English</name>
         <com_opencms_testmodule>
           <view>Edit View</view>
        </com_opencms_testmodule>
</LANGUAGE>

Publius Ismanescu wrote:

> Hi,
> I'm using opencms rc1
> I created a new module com.opencms.testmodule adding a new view to the 
> view select box.
> I followed the instruction in the documentation and I created a file 
> com.opencms.testmodule_en for language inside the 
> /com.opencms.testmodule/locales/en/ folder:
>
> my language file looks like this:
> <?xml version="1.0"?>
> <LANGUAGE>
>         <name>English</name>
>         <com_opencms_editmodule>
>           <view>Testing  View</view>
>        </com_opencms_editmodule>
> </LANGUAGE>
>
> Inside the select view ,the new item is still  ?view?, it is not 
> replaced.
>
> Please let me know what I'm doing wrong. The name of the tag is not 
> correct ? The name of the file is not correct?....
> I appreciate any help on this,
>
> Thank you
> Publius
>
>
>
>
>





More information about the opencms-dev mailing list