On Tue, Jul 15, 2025 at 5:28 AM Samoilov Danil <[email protected]> wrote:
> ------------------------------ > > Good afternoon, tell me how to add a new line in the creation/change > section of the connection to the "keyboard layout" section > > > There are a few steps you need to take: * Assuming this is for the RDP protocol, the Server Layout section is found in the following source code file: https://github.com/apache/guacamole-client/blob/main/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json#L102-L131. You can add a new keyboard layout to that list in order for it to show up in the Guacamole Client UI. * You'll also need to add the property translation strings for this field, currently at least the following file: https://github.com/apache/guacamole-client/blob/main/guacamole/src/main/frontend/src/translations/en.json#L702-L725. Adding them to the English (en.json) translation file will add the entry to all interfaces, no matter what the translation, but if you want it to show up as something different in the interface based on your language, you'll need to update the appropriate file (ru.json for Russian, for example). * Those two changes are only for the client-side - if you want to actually implement a translated server layout, you need to also add the keymap on the guacd (guacamole-server) side. The existing ones can be found in the following folder: https://github.com/apache/guacamole-server/tree/main/src/protocols/rdp/keymaps. You can look at the existing keymaps to get an idea of how to implement them, and post back here with any questions. -Nick >
