#cp.strings.source.plist
Loads strings from a plist
with allowing for a given language variation. Eg:
This will load the file for the specified language (replacing ${language}
with "en"
in the path) and return the value. Notes: This will load the file on each request. To have values cached, use the cp.strings
module and specify a plist
as a source.
#API Overview
Constants - Useful values which cannot be changed
Constructors - API calls which return an object, typically one that offers API methods
Methods - API calls which can only be made on an object returned by a constructor
#API Documentation
#Constants
#Constructors
#Methods
| | | | --------------------------------------------|-------------------------------------------------------------------------------------| | Signature | cp.strings.source.plist:findKeys(pattern) -> {string}
| | Type | Method | | Description | Finds the array of keys who's value matches the pattern in this table. It will check that the pattern matches the beginning of the value. | | Parameters |
pattern - The string pattern to match.</li></ul> | | **Returns** | <ul><li>The array of keys, or
` if none were fround