fei / translate-common
Flash applicative translate - common components
Installs: 7 388
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 20
Forks: 1
Open Issues: 2
pkg:composer/fei/translate-common
Requires
- php: >=5.5
- fei/entities: ^1.0.3
- league/fractal: ^0.14.0
- squizlabs/php_codesniffer: 3.*
Requires (Dev)
- codeception/codeception: ^2.2
This package is auto-updated.
Last update: 2025-10-20 11:50:14 UTC
README
Table of contents
Entities
I18nString entity
In addition to traditional id and createdAt fields, I18nString entity has four important properties:
| Properties | Type | Required | Default value |
|---|---|---|---|
| id | integer |
No | |
| createdAt | datetime |
No | Now() |
| lang | string |
Yes | |
| key | text |
Yes | |
| namespace | string |
Yes | |
| content | string |
Yes |
langis a string indicating the language of the translation. It can be formatted either with two chars or with 5. For example you could havefrorfr_FRkeyis a string representing the key used to refer to this translationnamespaceis a string representing the namespace of the translation. For example, you could have/project/pricer/invoicescontentis a string representing the content of your translation
Contribution
As FEI Service, designed and made by OpCoding. The contribution workflow will involve both technical teams. Feel free to contribute, to improve features and apply patches, but keep in mind to carefully deal with pull request. Merging must be the product of complete discussions between Flash and OpCoding teams :)