mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: i18n middleware
feat: i18n configuration. feat: i18n with tenancy.
This commit is contained in:
@@ -17,4 +17,12 @@ export default class HasTenancyService {
|
||||
models(tenantId: number) {
|
||||
return this.tenantContainer(tenantId).get('models');
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve i18n locales methods.
|
||||
* @param {number} tenantId
|
||||
*/
|
||||
i18n(tenantId: number) {
|
||||
this.tenantContainer(tenantId).get('i18n');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user