This article shows you how to change the language of a Mac keyboard. Read on to find out how.
Steps

Step 1. Access the "Apple" menu, then select Preferences…
It features the Apple logo and is located in the upper left corner of the screen.

Step 2. Select the Keyboard icon

Step 3. Go to the Input Sources tab located at the top of the dialog box that appeared

Step 4. Press the button ➕ located below the panel located on the left of the window that shows the list of languages already installed

Step 5. Choose the new language to add
They are sorted alphabetically.
The keyboard languages already installed are shown at the top of the list that appears

Step 6. Choose the keyboard layout you prefer for the selected language
They are listed in the right pane of the dialog box.
A preview of the selected keyboard layout will be shown below the right pane after making your selection

Step 7. Press the Add button

Step 8. Select the "Show keyboard menu in menu bar" checkbox
It is located at the bottom of the window. At the top right of the screen you will see a flag icon, exactly on the menu bar.