language_strings
Description
This property helper gives you the default language strings per language which can customize. If you're only interested in one language, such as english, simply add language=english
to your url when requesting this property helper.
The values
JSON object are in a name / value pair combination per language of language_override code
and custom_value
strings.
Interact with this resource
To interact with this resource and see it in the context of the API, you can utilise Postman or your Terminal/Console to perform requests. If you have a Foxy store, you can also use the API browser in the admin to interact with resources connected to your store.
Actions
- GET
- View a language_strings
- HEAD
- Get just the header response
- OPTIONS
- Get a response explaining which HTTP methods are supported
Properties
Property | Description | Type | Constraints |
---|---|---|---|
message | A small, human readable explanation of this property helper. | String | Read only |
values | JSON objects with the language strings supported. The key values match the language property and each pair represents the language_override code and custom_value . |
JSON | Read only |
Example Representation
ty_helpers/language_strings { "_links": { "curies": [ { "name": "fx", "href": "https://api.foxycart.com/rels/{rel}", "templated": true } ], "self": { "href": "https://api.foxycart.com/property_helpers/language_strings", "title": "List of the default language strings that can be overriden." }, "fx:property_helpers": { "href": "https://api.foxycart.com/property_helpers", "title": "Property Helpers Home" } }, "message": "The values listed here are the default language strings and can be overridden using a LanguageOverride. You can filter by a specific language by passing in ?language=", "values": { "dutch": { "cart_add_coupon": "Voeg coupon toe", ... "gateway_yuupay_response": "YuuPay Uniek ID:", "gateways": { "payflowpro": { "response": "Paypal Referentie: ", "_1": "Account configuratie problemen. Verifieer uw login gegevens.", ... }, "cybersource": { ... }, ... } }, "english": { ... } }, ... } }
<?xml version="1.0" encoding="UTF-8"?> <resource href="https://api.foxycart.com/property_helpers/language_strings"> <link rel="self" href="https://api.foxycart.com/property_helpers/language_strings" title="List of the default language strings that can be overriden."/> <link rel="https://api.foxycart.com/rels/property_helpers" href="https://api.foxycart.com/property_helpers" title="Property Helpers Home"/> <message>The values listed here are the default language strings and can be overridden using a LanguageOverride. You can filter by a specific language by passing in ?language=&lt;supported language string&gt;</message> <values> <italian> <cart_add_coupon>Voeg coupon toe</cart_add_coupon> ... <gateways> <propay> ... </propay> </gateways> </italian> ... </values> </resource>
{ "properties": { "message": "The values listed here are the default language strings and can be overridden using a LanguageOverride. You can filter by a specific language by passing in ?language=", "values": { "dutch": { ... }, "italian": { "cart_add_coupon": "Aggiungi coupon", ... "gateway_yuupay_response": "YuuPay ID univoco: ", "gateways": { "payflowpro": { "response": "Paypal Reference:", "_1": "Anomalia di configurazione. Verifica le tue credenziali.", ... }, ... } }, ... } }, "links": [ { "rel": [ "self" ], "href": "https://api.foxycart.com/property_helpers/language_strings" }, { "rel": [ "https://api.foxycart.com/rels/property_helpers" ], "href": "https://api.foxycart.com/property_helpers" } ] }
Zoomable Resources
This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.