[opencms-dev] Re: language file and modules
Publius Ismanescu
publiusi at wwdb.org
Wed Jan 29 21:07:38 CET 2003
Hi Jorg,
I did what you suggested but still doesn't work. Is shows as ?view?
Thank you
Jorg Heymans wrote:
> Whenever making changes to the language files you need to
> 1. publish your project
> 2. restart tomcat
>
> Note : i don't know if 5.0rc1 changes this but in 4.7 it's required.
>
> Publius Ismanescu wrote:
>
>> 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