Skip to content

Translating doesn't work as expected #100

Open
@martinhellwagner

Description

@martinhellwagner

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions