Preparing search index...
The search index is not available
Phrasey API Documentation
Phrasey API Documentation
phrasey
PhraseyTranslation
Class PhraseyTranslation
Hierarchy
PhraseyTranslation
Index
Constructors
constructor
Properties
extras
fallback
keys
locale
path
schema
stats
Methods
get
Key
has
Key
json
keys
Count
set
Key
create
parse
Translation
Key
Value
Constructors
constructor
new
Phrasey
Translation
(
path
,
schema
,
locale
,
extras
,
fallback
)
:
PhraseyTranslation
Parameters
path
:
string
schema
:
PhraseySchema
locale
:
PhraseyLocaleType
extras
:
Record
<
string
,
any
>
fallback
:
string
[]
Returns
PhraseyTranslation
Properties
extras
extras
:
Record
<
string
,
any
>
fallback
fallback
:
string
[]
keys
keys
:
Map
<
string
,
PhraseyTranslationStringValue
>
= ...
locale
locale
:
PhraseyLocaleType
path
path
:
string
schema
schema
:
PhraseySchema
stats
stats
:
PhraseyTranslationStats
= ...
Methods
get
Key
get
Key
(
key
)
:
undefined
|
PhraseyTranslationStringValue
Parameters
key
:
string
Returns
undefined
|
PhraseyTranslationStringValue
has
Key
has
Key
(
key
)
:
boolean
Parameters
key
:
string
Returns
boolean
json
json
(
stringFormatter
)
:
PhraseyTranslationJson
Parameters
stringFormatter
:
PhraseyTranslationStringFormatter
<
any
>
Returns
PhraseyTranslationJson
keys
Count
keys
Count
(
)
:
number
Returns
number
set
Key
set
Key
(
key
,
value
)
:
void
Parameters
key
:
string
value
:
PhraseyTranslationStringValue
Returns
void
Static
create
create
(
path
,
schema
,
formatter
,
locales
,
globalFallback
)
:
Promise
<
PhraseyResult
<
PhraseyTranslation
,
Error
>
>
Parameters
path
:
string
schema
:
PhraseySchema
formatter
:
PhraseyContentFormatter
locales
:
PhraseyLocales
globalFallback
:
string
[]
Returns
Promise
<
PhraseyResult
<
PhraseyTranslation
,
Error
>
>
Static
parse
Translation
Key
Value
parse
Translation
Key
Value
(
key
,
content
)
:
PhraseyResult
<
PhraseyTranslationStringPart
[]
,
Error
>
Parameters
key
:
{
description
?:
string
;
name
:
string
;
parameters
?:
string
[]
;
}
Optional
description
?:
string
name
:
string
Optional
parameters
?:
string
[]
content
:
string
Returns
PhraseyResult
<
PhraseyTranslationStringPart
[]
,
Error
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
extras
fallback
keys
locale
path
schema
stats
get
Key
has
Key
json
keys
Count
set
Key
create
parse
Translation
Key
Value
Phrasey API
Documentation
phrasey -
v2.0.21
Phrasey
Phrasey
Buildable
Pipeline
Phrasey
Builder
Phrasey
Config
Phrasey
Content
Formats
Phrasey
Error
Phrasey
Hooks
Phrasey
Locales
Phrasey
Logger
Phrasey
Schema
Phrasey
State
Phrasey
Summary
Phrasey
Transformer
Phrasey
Translation
Phrasey
Translation
Stats
Phrasey
Translation
String
Formats
Phrasey
Translations
Phrasey
Utils
Phrasey
Validation
Error
Phrasey
Watcher
Phrasey
Builder
Construct
Pipeline
Options
Phrasey
Builder
Create
Options
Phrasey
Builder
Options
Phrasey
Content
Formatter
Phrasey
Hooks
Attached
Handler
Phrasey
Hooks
Events
Phrasey
Locale
Code
Details
Code
Type
Phrasey
Locale
Code
Details
Type
Phrasey
Locale
Type
Phrasey
Logger
Options
Phrasey
Options
Phrasey
Pipeline
Phrasey
Props
Phrasey
Result
Error
Phrasey
Result
Success
Phrasey
State
Options
Phrasey
Summary
Json
Phrasey
Summary
Json
Total
Stats
Phrasey
Summary
Options
Phrasey
Translation
Json
Phrasey
Translation
Stats
Json
Phrasey
Translation
Stats
Json
Extended
State
Phrasey
Translation
String
Formatter
Phrasey
Translation
String
Part
Phrasey
Translation
String
Set
Phrasey
Translation
String
Unset
Phrasey
Tree
Like
Options
Phrasey
Watcher
Complete
Listener
Phrasey
Watcher
Options
Phrasey
Chokidar
Watcher
Listener
Phrasey
Hooks
Context
Phrasey
Hooks
Event
Phrasey
Hooks
Event
Context
Phrasey
Hooks
Handler
Phrasey
Locale
Direction
Type
Phrasey
Log
Level
Phrasey
Pipeline
Task
Phrasey
Result
Phrasey
Translation
State
Phrasey
Translation
String
Parts
Phrasey
Translation
String
Value
Phrasey
Watcher
Listener
PhraseyZConfig
Hooks
Type
PhraseyZConfig
Input
Type
PhraseyZConfig
Locales
Type
PhraseyZConfig
Output
Type
PhraseyZConfig
Schema
Type
PhraseyZConfig
Type
PhraseyZLocale
PhraseyZLocale
Code
Details
Code
PhraseyZLocale
Direction
PhraseyZLocales
Type
PhraseyZSchema
Key
Type
PhraseyZSchema
Type
PhraseyZTranslation
Type
Phrasey
Identifier
Regex
Phrasey
Tree
Like
Phrasey
Version
PhraseyZConfig
PhraseyZConfig
Hooks
PhraseyZConfig
Hooks
Expanded
PhraseyZConfig
Input
PhraseyZConfig
Locales
PhraseyZConfig
Output
PhraseyZConfig
Schema
PhraseyZLocale
PhraseyZLocale
Code
Details
PhraseyZLocale
Code
Details
Code
PhraseyZLocale
Direction
PhraseyZLocales
PhraseyZSchema
PhraseyZSchema
Key
PhraseyZTranslation
Phrasey
Safe
Resolve
Package
Phrasey
Safe
Run
Phrasey
Safe
Run
Async
@zyrouge/phrasey-
json -
v1.0.3
@zyrouge/phrasey-
locales -
v1.1.9
@zyrouge/phrasey-
locales-
builder -
v1.1.10
@zyrouge/phrasey-
locales-
shared -
v1.1.5
@zyrouge/phrasey-
toml -
v1.0.3
@zyrouge/phrasey-
xml -
v1.0.3
@zyrouge/phrasey-
yaml -
v1.0.3
Generated using
TypeDoc