-
| Hi, | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| Hi @bn3t, /common/i18n/en.ts export const common: BaseTranslation = {
	companyName: 'Best Company'
}/lib/i18n/en.ts export const lib: BaseTranslation = {
	login: {
	   	ctaLabel: 'Login',
		invalidCredentials: 'Username or password do not match any user on this system'
	}
}/app/src/i18n/en/index.ts const en: BaseTranslation = {
	...common,
	...lib,
   projectLabel: '{nr: number} Project{{s}}'
}
export default enOr you can also have it's own instance per package. Then you would need to make sure to initialize the  Hope this helps! | 
Beta Was this translation helpful? Give feedback.
Hi @bn3t,
since
typesafe-i18nuses regularTypeScriptfiles, you can manage your dictionaries however you want. You could split the stings out into multiple files like this:/common/i18n/en.ts
/lib/i18n/en.ts
/app/src/i18n/en/index.ts
Or you can also have it's own instance per package. Then you would need to make sure to initialize the
localefor …