fei / translate-common
Flash applicative translate - common components
Installs: 7 379
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 22
Forks: 1
Open Issues: 2
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: 2024-12-20 09:59:25 UTC
README
Table of contents
Entities
I18nString entity
In addition to traditional id
and createdAt
fields, I18nString entity has four important properties:
lang
is a string indicating the language of the translation. It can be formatted either with two chars or with 5. For example you could havefr
orfr_FR
key
is a string representing the key used to refer to this translationnamespace
is a string representing the namespace of the translation. For example, you could have/project/pricer/invoices
content
is 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 :)