Is the message that is shown to the user translatable into different languages?

Permalink Browser Info Environment
I would like to use the add-on on an international site with several languages. Is the message localizable?

Type: Pre-Sale
Status: In Progress
View Replies:
c5hub replied on at Permalink Reply
It's fully translatable, but only one message can be displayed, so multiple language on same site a problem.
buurvrouw replied on at Permalink Reply
I'm having the same issue. Is this something you plan for implementing?
c5hub replied on at Permalink Reply
Why not take a backup of the package and try this. Change line 132 of controllers/cookiesDisclosure.php which reads like this:

"\t\tmessage: '".self::$cfg['display_message']."',\n" .

to this:

"\t\tmessage: '" . t(self::$cfg['display_message']) . "',\n" .

Note the inclusion of the t() function. This should exposure whatever message you put in the disclosure message box to translation should offer multilanguage support on the same site.

If this works we'll add this to the next update of this package.
buurvrouw replied on at Permalink Reply
Nope, this is not working...

concrete5 Environment Information

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.