Skip to content
/ rcm-i18n Public

Stores translations in DB for ZF2 i18n through the doctrine orm module

License

Notifications You must be signed in to change notification settings

reliv/rcm-i18n

Repository files navigation

Rcm I18n translation library and utilities

Rcm Translate API

Rcm Translate API - HTTP API for translations

Calling the API:

    https://example.com/api/rcm-translate-api/MY-TRANSLATION-NAMESPACE?1=term1&key2=term2

The query param field is an arbitrary key (usually the same as the term) The query param value is the term (string) to translate

I.E.

?queryField=queryValue equates to: someValue=translationString

Result:

{
    "term1": "term1 translation",
    "term2": "term2 translation"
}

ToDo

  • Complete the Zend Expressive part
    • Need to register translator plugins with ZF2 application

About

Stores translations in DB for ZF2 i18n through the doctrine orm module

Resources

License

Stars

Watchers

Forks

Packages

No packages published