How to create and use locpak files for new, custom aircraft

I have two questions for localization files, I don’t understand how to create
them in the first place (I know compiling DA62 sample creates those files, but
I don’t understand how they are added to the project and how they are created)
Once I have them in the package how to call the content from interior.xml file
to appear on the tooltip (in and others)?

They are compiled from the .loc file in the PackageSources folder when you
build the project. You can easily edit them with
MSFSLocalizer.

Thank you!