List formats
Returns all file formats that Phrase Strings supports. Use the api_name value from each format as the file_format parameter when uploading or downloading locale files. Not every format supports both directions: check the importable and exportable fields before using a format in a workflow. This endpoint does not require authentication and is not subject to rate limiting.
Authorizations
Enter your token in the format token TOKEN
Response
OK
Human-readable display name of the format.
"Ruby/Rails YAML"
Identifier used to reference this format in API requests, such as the file_format parameter on the uploads and downloads endpoints.
"yml"
Human-readable summary of the format and its typical use case.
"YAML file format for use with Ruby/Rails applications"
Default file extension associated with this format.
"yml"
Default character encoding used when reading or writing files in this format.
"UTF-8"
Whether locale files can be imported using this format.
true
Whether locale files can be exported using this format.
true
Conventional file path pattern for this format. Contains locale_name as a placeholder for the locale identifier.
"./config/locales/<locale_name>.yml"
When true, exported files contain the default locale's content for any key that has no translation in the target locale.
false
When true, files in this format embed locale information so Phrase can detect the locale automatically on import.
false