docs » cp.localized


Helps look up localized names for folders.

API Overview

API Documentation

Functions

getLocalizedName

Signature cp.localized.getLocalizedName(path[, language]) -> string, string
Type Function
Description Returns the localized name for the path in the specified language. If all else fails, the
Parameters
  • `path` - The full path to the folder
  • `language` - The language to retrieve the name for.
Returns
  • The localized name, or `name` if not available.
  • The original name, minus `.localized`

results matching ""

    No results matching ""