Add the Slovenian Keyboard Layout and Create a Shortcut Key (Ctrl + ž) in LibreOffice Writer

Hello everyone,
I am using LibreOffice Writer and need help setting up a shortcut key specific to the Slovenian keyboard layout. My goal is to create a shortcut like Ctrl + ž to run a macro. However, I am unsure how to achieve this. Here are my questions:

  1. How do I enable the Slovenian keyboard layout in LibreOffice or at the system level so that it is recognized correctly?
  2. Is it possible to use Ctrl + ž as a shortcut key in LibreOffice Writer? If so, how can I assign this key combination to a macro?

I have already created the macro, but I am struggling with the key assignment part. Any guidance on enabling the keyboard layout and creating the shortcut would be greatly appreciated!

Thank you!

And the operating system is…