Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6748705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:35:51+00:00 2026-05-26T12:35:51+00:00

The internationalization process is not working. I ran cake i18n export . After that

  • 0

The internationalization process is not working.

I ran cake i18n export. After that I put the translations into the file “.po” in the folder app/locale/por/LC_MESSAGES/default.po..

I called the method beforeFilter() in the AppController Configure::write('Config.language', 'por');.

But the translation isn’t shown in __()-methods.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:35:51+00:00Added an answer on May 26, 2026 at 12:35 pm

    Here are some possible suggestions:

    • Clear the Cake cache in PATH_YOUR_APP/tmp/cache. Delete the files in models and persistent, but not the directories itself. I believe persistent is where the localised strings are saved, but empty both to be sure.

    • Do you override the beforeFilter in any of your controllers, other than the AppController? If so call parent::beforeFilter(); in the controller’s beforeFilter method, before processing other stuff, like so:

    public function beforeFilter() {
      parent:beforeFilter();
      //Do stuff here
    }
    

    • How did you create the translation files? Is there a .mo file in the .po directory as well? I believe directly editing .po and .pot files is not recommended due to character encoding issues (but I could be mistaken). Poedit is a good tool for manipulating .po files, though it could be more robust.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a PHP-based application that requires internationalization (i18n) support. I'm using Smarty 3
I am working on a Software Project that needs to be translated into 30
I am working on Internationalization . I have the otherlanguagefile.yml file for all the
I'm experimenting with internationalization by making a Hello World program that uses properties files
When people discuss about internationalization, they use the word i18n more often. For first
I have always thought that the terms internationalization and localization (and their funny abbreviations
I'm currently working on the internationalization of a product and an issue has come
is it possible to do internationalization in asp.net with just one resource file for
I'm wondering how to deal internationalization in JavaScript. I googled but I'm not getting
Possible Duplicate: internationalization of an iPhone Application I know that its possible to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.