Where are my languages?

I don’t know what is happening, but I’m working on a site that I am upgrading from U13 to U17.

I wanted to look at the installed languages, and it was empty.

I see languages above the content tree. But when I go to Settings/Languages, it tells me there aren’t any languages found. Also, eventhough my user is set to “English US”, the language-search-results-panel is in dutch.

If I create a new language, with an existing ISO code I get the error about duplicate ISO code.

If I want to select a fallback language for my newly created language, I see all languages (5 at this point because of testing).

If I open the Language Settings, I see the URL ‘language?pageSize=50&skip=0&take=50’ is being called. That call gets a json return with all 5 languages in it. So the CMS-backend is returning the correct data. But the CMS itself isn’t showing any language.

I was running on 17.0.0, so I was hoping updating would solve this problem. But I’m running 17.1.0 now, and this problem still persists.

And I can’t remove any of the test-languages I’ve added. :slight_smile: Perhaps through the database.

But is this a common issue? Does anybody know what I do to get it working again?

I’ve tried clearing cache, reloading database memory, rebuild indexes.

Not seen this issue before but any duplicate entries in the umbracoLanguage table in the database, that might be causing an issue?

I’ve checked the database, but there aren’t duplicate entries.

When I open the Language settings, the language-api returns a json containing all languages.

At this moment (with adding languages to test), it returns:

{
    "total": 5,
    "items": [
        {
            "isoCode": "en-US",
            "name": "Engels (Verenigde Staten)",
            "isDefault": false,
            "isMandatory": false,
            "fallbackIsoCode": null
        },
        {
            "isoCode": "nl-NL",
            "name": "Nederlands (Nederland)",
            "isDefault": false,
            "isMandatory": false,
            "fallbackIsoCode": null
        },
        {
            "isoCode": "nl",
            "name": "Dutch",
            "isDefault": true,
            "isMandatory": false,
            "fallbackIsoCode": null
        },
        {
            "isoCode": "de",
            "name": "German",
            "isDefault": false,
            "isMandatory": false,
            "fallbackIsoCode": null
        },
        {
            "isoCode": "bs",
            "name": "Bosnian",
            "isDefault": false,
            "isMandatory": false,
            "fallbackIsoCode": null
        }
    ]
}

So that seems to work.

But the CMS shows the following:

As I said, also weird that this is in dutch, since my user-language is set to english.

I’ll take a look next monday with a colleague. I see this on multiple sites, but I think they are all upgrades from U13.

Sure. Something doesnt look right but i would also look at any console errors to see if that narrows down whatever maybe going wrong here.

That does not look like standard Umbraco. If you go to Settings → Languges, what do you see then, please?

Do you happen to have Umbraco Commerce or similar installed, seeing that your search field references “sku” and “code”, etc?

1 Like

Thank you. I don’t know how I have missed that.

My coworker made an extra listview type (an extra option like List and Tiles). Somehow (but we don’t know how), this listviewtype is now being used by the language-view.

I’ve removed the App_Plugin folder of this listview, and now my language-list is back to normal.

As I said, I don’t know how me didn’t notice the “sku” placeholdertext.

Thanks for the help.

Perhaps you have used the same alias on the new list view as the language table. I believe the alias of the language table is Umb.CollectionView.Language.Table.

At least that has the potential to overwrite it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.