Developing Amica
Tests
npm run test # run all unit tests
npm run test [PATH] # run only tests with name matching "PATH"ARM64 compatibility
FATAL ERROR: wasm code commit Allocation failed - process out of memoryThe Development Workflow for Translations
Apply Text to Translate
import { useTranslation } from 'react-i18next';
export function MyComponent() {
const { t, i18n } = useTranslation();
// Wrap your 'wanna' translated text in the 't' function
return <p>{t('my translated text')}</p>
// When translating text that is too lengthy, it's best to assign a corresponding keyword.
<p>{t("amica_intro", `
Amica is an open source chatbot interface that provides emotion, text to speech, and speech to text capabilities.
It is designed to be able to be attached to any ChatBot API.
It can be used with any VRM model and is very customizable.
You can even run Amica on your own computer without an internet connection, or on your phone.
`)}
</p>
}Updating Language Files with New Translations
Add a new language
Last updated