SSP Studio Tips: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Avoid the white screen]] | [[Avoid the white screen]] | ||
[[Get delegates for actor]] | [[Get delegates for actor]] | ||
=== Get a translation and add default value if missing (7.24.07) === | |||
#first parameter: Category | |||
#second parameter: Label | |||
#third parameter: Default Value | |||
StudioInterface.translate('Common', 'Profile', 'My Profile'); | |||
''return'': the translation value for the SSP translations and if it doesn't exits yet, it will be added with the default value in the default language | |||
Revision as of 16:31, 21 May 2026
Avoid the white screen Get delegates for actor
Get a translation and add default value if missing (7.24.07)
- first parameter: Category
- second parameter: Label
- third parameter: Default Value
StudioInterface.translate('Common', 'Profile', 'My Profile');
return: the translation value for the SSP translations and if it doesn't exits yet, it will be added with the default value in the default language