Skip to content

Internationalization is not working #175

@jalpertti

Description

@jalpertti

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions