opral / inlang-message-sdk

0 stars 0 forks source link

Updated project settings should reload messages #35

Closed jldec closed 1 week ago

jldec commented 2 months ago

MESDK-71

Context

Any modification of project settings should trigger a reload of messages e.g. to pick up new languages.

e.g. https://discord.com/channels/897438559458430986/1070750156644962434/1229849444728442964

Proposal

Doing this internally, at the sdk level, should allow sherlock users to edit project settings directly, and see the results without reloading manually.

NOTE: guard against a new message file overwriting an existing file which existed before the language was added to the project.

related to FINK-27 (https://github.com/opral/inlang-fink/issues/17)