Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Configure translations in customized module
 
kelamri
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-03-14
 

Hi,

I created a backend module. All seems to be good but when I want to switch to another language (using backend language switcher), I get “404 Not Found 1” error.
The page not found is

http://magento.proto/sintax/index/changeLocale/locale/fr_FR/r64/aHR0cDovL21hZ2VudG8ucHJvdG8vc2ludGF4L2FkbWluaHRtbF9teWZvcm0vaW5kZXgv

My config.xml is :

<?xml version="1.0"?>
<config>
    <
modules>
        <
Mage_Sintax>
            <
version>0.1.0</version>
        </
Mage_Sintax>
    </
modules>
    
    <global>
        <
models>
            <
sintax>
                <class>
Mage_Sintax_Model</class>
                <
resourceModel>sintax_mysql4</resourceModel>
            </
sintax>
            <
sintax_mysql4>
                <class>
Mage_Sintax_Model_Mysql4</class>
            </
sintax_mysql4>
        </
models>
        <
blocks>
            <
sintax>
                <class>
Mage_Sintax_Block</class>
            </
sintax>
        </
blocks>



    </global>
    
    <
admin>
        <
routers>
            <
sintax>
                <use>
admin</use>
                <
args>
                    <
module>Mage_Sintax</module>
                    <
frontName>sintax</frontName>
                </
args>
            </
sintax>
        </
routers>
    </
admin>
    
    <
adminhtml>
        <
translate>
            <
modules>
                <
mage_adminhtml>
                    <
files>
                        <default>
Mage_Sintax.csv</default>
                    </
files>
                </
mage_adminhtml>
            </
modules>
        </
translate>
        
        <
menu>
            <
catalog>
                <
children>
                    <
sintax_adminform translate="title" module="sintax">
                        <
title>My Form</title>
                        <
action>sintax/adminhtml_myform</action>
                    </
sintax_adminform>
                </
children>
            </
catalog>
        </
menu>
        
        <
acl>
            <
resources>
                <
admin>
                    <
children>
                        <
catalog>
                            <
children>
                                <
sintax_adminform>
                                    <
title>My Form</title>
                                </
sintax_adminform>
                            </
children>
                        </
catalog>
                    </
children>
                </
admin>
            </
resources>
        </
acl>
        
        <
layout>
            <
updates>
                <
sintax>
                    <
file>sintax.xml</file>
                </
sintax>
            </
updates>
        </
layout>
    </
adminhtml>
</
config>

Any help please !

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top