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

cookie-consent #2917

Closed
Chaffinch opened this issue Apr 15, 2024 · 9 comments
Closed

cookie-consent #2917

Chaffinch opened this issue Apr 15, 2024 · 9 comments
Assignees
Milestone

Comments

@Chaffinch
Copy link
Contributor

Bitte geben Sie mir einen Hinweis: Wie kann ich den Text übersetzen? : "phpMyFAQ use cookies!
Hi, phpMyFAQ uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent." Momentan, Ich habe es mit einer Motorsäge geschnitten Datei benannt: cookie-consent.js - 3.616 bytes - pon., 25.03.24 at 18:25 - x:\phpmyfaq\Assets\Src\Utils. Ich bräuchte, Stück Code von ,zeile ummer 52 " languages: { " ALS DUPLIKAT wobei wechseln "en" ,in eine andere Sprache Zum Beispiel "pl"
use_cookies
line52

@thorsten
Copy link
Owner

Please check this PR: #2916

@thorsten thorsten self-assigned this Apr 16, 2024
@thorsten thorsten added this to the 3.2.7 milestone Apr 16, 2024
@Chaffinch
Copy link
Contributor Author

Vielen Dank für Ihre Tipps. Ad hoc, ich habe die Datei bearbeitet frontend.js Ich habe den Effekt, aber nicht mehrsprachig. :-)
cookie
cookie-01
frontend js

@modelrailroader
Copy link
Contributor

Zufälligerweise habe ich mich selbst gerade mit dem Cookie-Consent beschäftigt und einige Änderungen in die 3.2.7 eingebracht. Dein Issue kam also genau zur richtigen Zeit ;-)
Mit der 3.2.7 updaten wir unser Cookie-Consent insgesamt und bringen es auf einen Stand mit der DSGVO. Hier wird auch das Thema Mehrsprachigkeit eingebracht. Zukünftig (bzw. auch jetzt schon im Branch, aber noch nicht als Version) gibt es einen Ordner unter lang/cookie-consent mit JSON-Dateien und Übersetzungen. Hier kannst du deine polnische Sprachversion einbinden und in der cookie-consent.js verlinken. Teile uns doch gerne auch deine polnische Version, um sie für alle verfügbar zu machen :)

@Chaffinch
Copy link
Contributor Author

cookie-consent.js.txt

Das ist mein: cookie-consent.jscookie-consent.js ins Polnische umgewandelt

@modelrailroader
Copy link
Contributor

@thorsten Wollen wir die Übersetzung zur Verfügung stellen und willst du das Ding als JSON ergänzen?

@Chaffinch
Copy link
Contributor Author

Als JSON ergänzen? Ech hunn dës Versioun um Server installéiert phpMyFAQ 3.2.6. Momentan, de gréissere problem hunn ech, ass, datt ech net kann säiten erstellen/änneren: Privacy Notice ,Terms of Service. Wie hier: https://www.phpmyfaq.de/privacy
https://www.phpmyfaq.de/terms Gibt es keine Vorlage? Viele Grüße

@modelrailroader
Copy link
Contributor

Please read the documentation/installation guide, in particular about editing the RewriteBase in the .htaccess-file carefully. This will bring up the possibility to have html-links.
Additionally, take a look at GitHub in the branch 3.2 under phpmyfaq/lang/cookie-consent. Or see the english example here: https://github.com/thorsten/phpMyFAQ/blob/3f6524f11c8e902ecb28d7dc11b19c43c11d24f9/phpmyfaq/lang/cookie-consent/en.json
These files will be included in the next release as well.

@Chaffinch
Copy link
Contributor Author

Vielen Dank für Ihre Erklärung und Ihre Zeit. Ich werde sehen, was in der Datei steht: .htaccess . Vielleicht Ich habe dort etwas kommentiert /***/# . Ich versuche eine andere Version zu installieren Zum Beispiel 1) ../public_html/phpmyfaq/ 2)/public_html/phpmyfaq4/ dies, phpmyfaq4 bei mir funktioniert es nicht richtig. Als ob Der Installer hat nur akzeptiert nur katalog phpmyfaq
Nun, ich werde auf die neue Version warten. Viele Grüße

@thorsten
Copy link
Owner

I added the Polish translation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants