Old 03-31-2020, 04:47 PM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,612
Default How does SWS localize using translationfile?

I just realized, that there is a translationfile for SWS and I wonder, how does SWS actually access Reaper's translation and localization-parts?

Would love to try to add this functionality to Ultraschall-API as well, but don't know, where to start with it.

Edit:
I'm talking about that file:
https://www.sws-extension.org/downlo...ReaperLangPack
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-31-2020, 07:35 PM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,909
Default

In short, REAPER exports unlisted API functions to access its localization features.

https://github.com/reaper-oss/sws/wi...izable-code%3F
https://github.com/reaper-oss/sws/bl...alize-import.h
https://github.com/reaper-oss/sws/bl...per/localize.h
cfillion is offline   Reply With Quote
Old 03-31-2020, 08:18 PM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,612
Default

Nice! Thank you
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-27-2020, 04:46 AM   #4
bobacat
Human being with feelings
 
Join Date: May 2020
Posts: 2
Default

Great! Thank you for help. I would like to ask for localization in general, could you give a little hint to a beginner? I have to make localization of my application (I am owner, but not a Dev) and I found such an online resource https://thewordpoint.com/services/lo...on/application, which offers its help in this. This is my first time encountering this and I don’t understand whether it is worth trusting a translation series for such a job?

Last edited by bobacat; 05-28-2020 at 10:59 AM.
bobacat is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.