Skip to main content

Multilingual Support

The Smartbills API supports multiple languages and locales, allowing you to provide localized experiences for your users.

Supported Languages

Smartbills currently supports the following languages:

Setting the Language

You can specify the desired language using the Accept-Language header in your API requests:

Response Localization

When you specify a language, the following elements will be localized:
  • Error messages
  • Validation messages
  • Category names
  • Status labels
  • System-generated text

Example

Currency and Number Formatting

The API respects locale-specific formatting for currencies and numbers:

Date and Time Formatting

Dates and times are returned in ISO 8601 format but can be formatted according to the specified locale:

Best Practices

Always include the Accept-Language header to ensure consistent localization.
If a translation is not available for a specific locale, the API will fall back to English.
Store the user’s language preference and include it in all API requests.
When displaying data to users, use locale-specific formatting libraries.

Localized Content

Category Names

Expense categories are automatically localized:

Status Labels

Status labels are localized based on the Accept-Language header:

Example Implementation

Requesting New Languages

If you need support for additional languages, please contact us at [email protected] with:
  • The language and locale you need
  • Your use case
  • Expected volume of requests
We regularly add new languages based on customer demand.