frappe-ui
frappe-ui copied to clipboard
feat: Translation plugin
import { translationPlugin } from 'frappe-ui'
app.use(translationPlugin)
Examples
__('Hello')
__('{0} of {1}', [3, 100])
fixes: #233 dependent on: https://github.com/frappe/frappe/pull/28638
Deploy Preview for frappeui ready!
| Name | Link |
|---|---|
| Latest commit | 0a4bfdf2b65d770d25fa69852b1fb6e7f1129a2e |
| Latest deploy log | https://app.netlify.com/sites/frappeui/deploys/674da5f1a54a3f00086ac06b |
| Deploy Preview | https://deploy-preview-232--frappeui.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This PR is incomplete without an accompanying python package, because it depends on translated strings to be set on window.