You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I would like to ask for help. I try to make component standalone component library form my other apps. it should encapsulated most common components and also with translations to several languages. So I have two projects:
ui-components - sveltekit standalone component library build as lib, but it also have routes with one page for all component presentation and parameters description.
app-component - sveltekit app with multiple pages, it has ui-components as dependency
Now I have implemented translations in both ui-components and also app-component. But when I use compoent from ui-components it is problem with localisation.
I tried two things.
Export config from ui-component, with added loaders from ui-components, then imported in app-component and add app translations and loaderr. aftred that build config and use. It works for main app-component but not for ui-component.
Export builded config from ui-components and then imported to app-component, but I cant find how to add new loaders or translations from jsons to already builded config.
Please can you give me some hints how to do it. Thanks.
Best regards.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I would like to ask for help. I try to make component standalone component library form my other apps. it should encapsulated most common components and also with translations to several languages. So I have two projects:
Now I have implemented translations in both ui-components and also app-component. But when I use compoent from ui-components it is problem with localisation.
I tried two things.
Please can you give me some hints how to do it. Thanks.
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions