Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalization is not working #175

Open
jalpertti opened this issue Apr 13, 2016 · 0 comments
Open

Internationalization is not working #175

jalpertti opened this issue Apr 13, 2016 · 0 comments

Comments

@jalpertti
Copy link

Hi,

I try to get Finnish working, but all tags/buttons are coming in English. Here is my facebook.php in Config:

$config = array(
'Facebook' => array(
'appId' => 'YOUR_APP_ID',
'apiKey' => 'YOUR_API_KEY',
'secret' => 'YOUR_SECRET',
'cookie' => true,
'locale' => 'fi_FI',
)
);

I would only need Share button in Finnish, no additional features. I also tried in AppController:

public $helpers = array('Html', 'Form', 'Session', 'Js', 'Facebook.Facebook' => array('locale' => 'fi_FI'));

I think that the documentation is mixing something very badly stating that this line should be in top of facebook.php -file:

public $helpers = array('Facebook.Facebook' => array('locale' => 'fi_FI'));

I got it working on AppController, but is has no affect on application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant