string GetLocalizationPath()

robot_2Generated
code_blocksInput

Description

Returns the absolute path to the localization folder of the project. If the localization path is not set, the method returns null.

Usage

Use this method when you need to access the localization resources of a project. This can be useful for loading language-specific assets or configurations.

Example

// Example of using GetLocalizationPath
Sandbox.Project project = Sandbox.Project.Current;
string localizationPath = project.GetLocalizationPath();

if (localizationPath != null)
{
    // Use the localization path
    // e.g., load localization files
}
else
{
    // Handle the case where the localization path is not set
}