martijnboland / apptext

AppText is a content management system for applications. Application developers can use it to replace static resources in applications with dynamic content and delegate content management to non-developers.
https://apptext.io
Apache License 2.0
23 stars 5 forks source link

Compile resources as resource files #27

Closed vallieresc closed 1 year ago

vallieresc commented 3 years ago

Is there a way I can do that for production use ?

martijnboland commented 3 years ago

The translations API endpoint returns resx instead of json when you set the HTTP Accept header to 'text/microsoft-resx'.

A curl example with the online demo app:

curl 'https://demo.apptext.io/jsexample/translations/public/en/labels' -H 'X-Api-Key: 817ea5679a3c4b0fb5cd0e55d921ef19' -H 'Accept:text/microsoft-resx'

Is that something you could use?

vallieresc commented 3 years ago

Could be useful thanks.