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

Translating doesn't work as expected #100

Open
martinhellwagner opened this issue May 13, 2019 · 3 comments
Open

Translating doesn't work as expected #100

martinhellwagner opened this issue May 13, 2019 · 3 comments

Comments

@martinhellwagner
Copy link

martinhellwagner commented May 13, 2019

We have created a translation file for the LinkIt plugin and placed it under translations/de/linkit.php. This is our translation file:

<?php
return array(
        "Select link type..." => "Bitte wählen...",
        "URL" => "Übersetzungs-Test",
        "Select Category" => "Kategorie auswählen",
        "Entry" => "Eintrag",
        "Select Entry" => "Eintrag auswählen",
        "Email Address" => "E-Mail Adresse",
        "Phone Number" => "Telefonnummer",
        "Open link in new window?" => "In neuem Fenster öffnen?",
);

However, not everything gets translated correctly. In particular, "Category" and "Entry" (as well as "Select Category" and "Select Entry") don't get translated. Trying to translate them globally with a site.php or app.php file doesn't work either. Is it actually possible to translate these, or is it a bug in Craft CMS / Linkit?

Screenshot 2019-05-13 at 11 46 28

@maxstrebel
Copy link

Any Information on this? Did you resolve this @martinhellwagner?

@martinhellwagner
Copy link
Author

@maxstrebel

Seems like this isn't resolved yet.

@maxstrebel
Copy link

@martinhellwagner thanks - stumbled upon the same problem.

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

2 participants