I found an extension to jQuery API which had locale phrases to translate error messages.

I'm trying to translate that phrases to pt_PT.

But I simply can't add code to my phtml such as:

<script type="text/javascript" src="./lib/web/jquery/messages_pt_PT.js" />

What should I do?

Your Answer

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

Browse other questions tagged or ask your own question.