Setup of Multilingual Cookie Consent

Permalink Browser Info Environment
I purchased this addon a while ago and now need to make the popup cookie consent support de_DE as well as English. That is, if someone goes to the "de_DE" branch of the site, they should see the text in this popup in German.

The GDPR interface directs me to the Concrete5 "Translate Site Interface", but I have absolutely no idea what to do with this - nor can I find any documentation. I tried downloading the "translation-de_DE.mo" file and put it into "application/languages/site" which now appears in this interface - but now what? If I click on the edit icon the resulting interface appears empty.

Any assistance would be sincerely appreciated!
Thanks,

Alex

Type: Pre-Sale
Status: In Progress
alexaalto
View Replies:
A3020 replied on at Permalink Reply
A3020
From docs:
> Site translations are managed via the /dashboard/system/multilingual/translate_interface dashboard page. You first need to click the "Reload Strings" button, then you can translate the extracted strings.

If you hit that button, concrete5 is going to look through all source code and database tables for strings it can translate. Those are then bundled in a 'po' file. A PO file contains all the translatable strings. Once that file is generated, the strings can be translated via the "Site Translate Interface" page. Once done, you can make concrete5 write the changes. The PO file is then converted to an MO file, which is the compiled / final translation file.
domeo replied on at Permalink Reply
domeo
I managed to output the addon via the translate interface function in two languages (English and German).
But because you can only insert one single page for the "learn more"-link, also in the english version now is displayed (in my case) the german page.
Is there a possibility to prevent this behaviour in order to display the corresponding English privacy policy in the English version and the German version in the German privacy policy?
A3020 replied on at Permalink Reply
A3020
I see what you mean! Good point. The UI doesn't support multiple links, you're right about that. As a workaround, would it help to clear the 'Read more page' link and hardcode the links in the Translation Site Interface instead?
domeo replied on at Permalink Reply
domeo
Thanks for the input, I was thinking about hardcoding too, but I'm not that expert to do so, unfortunately

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 5.1.73
SQL Mode:

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), GDPR (1.8.3)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.15 (CentOS)

# Server API
cgi-fcgi

# PHP Version
7.1.33

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, readline, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 18M
sql.safe_mode - Off
upload_max_filesize - 45M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 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 may not request a refund that is not currently owned by you.