If Scim is used it is likely that setting up alternative keyboard isn't required. However, there are some exceptions, notably Arabic.
Some languages require a different keyboard layout to work properly. The default US layout has only a limited number of characters, which is adequate for English but not for languages which have diacritical marks (commonly known as accents). This covers most other languages using Latin characters.
A different keyboard layout can be set as default. If different layouts are going to be used at different times it is easy to set up two (or more) layouts and switch between them.
Note- this method only works for Xorg
The keyboard layouts are already in Puppy2, 3, 4 and 5. Nothing requires installing
* From the menu, choose Setup -> Mouse/keyboard Wizard
* Click on Advanced Xorg keyboard configuration
* Click on Layouts to add another keyboard layout.
*When you've added your new keyboard layout, click on the Options tab, near the top of the window.
There are four things we are going to change, and one of those is optional. They are marked in red.
This sets the key combination you use to switch keyboard layouts.
It's a rather confusing option. The name doesn't really tell you what it does. Also, when you actually click on this button, you see a large number of options - and many of them look rather similar.
In the screenshot I've select the one that I use. That lets me switch layouts at any time by pressing shift and alt. (Shift needs to be the first one pressed or nothing happens.)
I've chosen this combination because many of the other options are already used for another function. Control-shift is used a lot for keyboard shortcuts, for example. If you prefer something else, you have quite a few choices.
When you press this key at the same time as another, you are able to enter a range of special characters. (If you have a US keyboard layout, it doesn't do anything.)
I've chosen "any of the win keys" because I don't use them for anything else. (It's good to know they are of some use on a Linux system. :) ) It's the one selected in the screenshot.
This one is optional. If you set it, then when you have your alterative layout selected, the LED will light up. I've chosen to use the "scroll lock" LED because it has no other use on my system
You'll be offered a choice of four keys to use. I've chosen the menu key for this.
This also can be optional. The "compose" key gives you another way to type special characters, even with a standard keyboard. More details here.
Activate the new settings. Now you have two keyboard layouts set up and you can switch quickly between them.