0

I am using Magento ce-1.9.2.1 in my site.

It is mainly in nb_NO(Norwegian) language, even in admin panel.

Now I want to add a custom translation file in app/design/adminhtml/default/default/locale/nb_NO - by name Package_Module.csv but with a custom module.

I can't figure out the settings for this in my module's config.xml and the path related stuff.

Please help anyone.

3

follow this tutorial.add your translation file app/locale/en_US/ here. you can add this for frontend

<frontend>
        <translate>
            <modules>
                <translations>
                    <files>
                        <default>Translations.csv</default>
                    </files>
                </translations>
            </modules>
        </translate>
    </frontend>

for admin panel

 <adminhtml>
        <translate>
            <modules>
                <translations>
                    <files>
                        <default>Translations.csv</default>
                    </files>
                </translations>
            </modules>
        </translate>
    </adminhtml>
  • Ok I will try it, moreover I am trying to change translation of whole "Subtotal" section in printed invoice-pdf, but it's not working even with adminhtml translate.csv file of nb_NO locale, can you suggest anything for it ? – Vicky Dev Oct 14 '15 at 7:52
  • magento.stackexchange.com/questions/42111/… follow this – Qaisar Satti Oct 14 '15 at 7:55
  • Followed it but didn't help, I also changed the text in "Mage_Sales.csv" of nb_NO(Norsk Bokmål)(just for testing) directly but still no effect on translation. Please help it's urgent. – Vicky Dev Oct 14 '15 at 9:38
  • did you refresh the cache after it? – Qaisar Satti Oct 14 '15 at 9:40
  • Yes I did, but still same thing. – Vicky Dev Oct 14 '15 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.