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
Most cosmic applications use fluent with i18n-embed for localization, instead gettext as used by most other DEs.
While Fluent is great, it lacks some integration with the usual localization infrastructure.
I'm not sure how Fluent can support the localization of component libraries efficiently. This is already an issue for text that comes from libcosmic (see #777 and #775).
Gettext is also naturally capable of translating metainfo files, but most cosmic app write their metainfo files by hand, so translating it would currently not allow leveraging the existing fluent infrastructure.
For my app I manually translated the metainfo file, but I'm thinking about somehow generating it by the app using translations available in the fluent files.
Looking for ideas/suggestions, on how to improve this.
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
-
Most cosmic applications use
fluent
withi18n-embed
for localization, instead gettext as used by most other DEs.While Fluent is great, it lacks some integration with the usual localization infrastructure.
I'm not sure how Fluent can support the localization of component libraries efficiently. This is already an issue for text that comes from libcosmic (see #777 and #775).
Gettext is also naturally capable of translating metainfo files, but most cosmic app write their metainfo files by hand, so translating it would currently not allow leveraging the existing fluent infrastructure.
For my app I manually translated the metainfo file, but I'm thinking about somehow generating it by the app using translations available in the fluent files.
Looking for ideas/suggestions, on how to improve this.
Beta Was this translation helpful? Give feedback.
All reactions