Multilingual website with dropdown menu

Hello, I have look at the previous thread about coding the web to create a multilingual website. But when i try to import those code in, it said that thewixData is unused. What does that mean?

import {local} from ‘wix-storage’;
import wixData from ‘wix-data’;

$w.onReady(function () {
let lang = local.getItem(‘siteLangPref’);
if (!lang) {
lang = ‘english’;

It means that you’re importing the “Wix Data” library, which is used to access your collections.
If you are not doing any data access, you can safely remove the import line.

Thanks for the reply Tomer, I have tried to go through this method

But When i try to preview it , it shows these wording in the developers tools column, what does these mean?

Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.Loading the code for the Home page. To debug this code, open c1dmp.js in Developer Tools.


It means that it’s loading the code you wrote, and instructions on what to do if you wish to debug it.
Did you follow the thread completely? There are multiple steps there with multiple snippets of code you need to use.