I18n In headless
How to use i18n dictionary from backend to expose translation via servlet in headless architecture?
How to use i18n dictionary from backend to expose translation via servlet in headless architecture?
it depends on the architecture that you will follow for AEM headless. Now a days sling model exporter are being preferred in headless architecture on which you can directly inject any component or service via annotation and in this case you can import it as
@586265
@10410875("(component.name=org.apache.sling.i18n.impl.JcrResourceBundleProvider)")
private ResourceBundleProvider i18nProvider;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.