opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
42 stars 0 forks source link

Generate the messages folder in `paraglide-js init` #56

Closed LorisSigrist closed 6 months ago

LorisSigrist commented 6 months ago

Context/Problem

Users can't figure out that translations should be placed in the messages folder. The location is preconfigured in the Inlang Project, but the folder isn't generated.

Generating the folder was rejected in the past because Message Persistency will make it obsolete, but that's taking a while. There is no harm in adding it in the meantime.

Proposal

Generate the folder.

We could also ask them for the languages they want to support & then configure that in the project settings + generate JSON files for each language.