Skip to content

Locali 1.0.0-preview.14 - #4

Merged
soyeyalon merged 5 commits into
mainfrom
candidate
Nov 15, 2026
Merged

soyeyalon merged 5 commits into
mainfrom
candidate

Conversation

@soyeyalon

Copy link
Copy Markdown
Collaborator

Promotes candidate at 0d2a1be, whose full gate passed in run 43674782232, to main for the release of 1.0.0-preview.14. The changes are in the changelog's 1.0.0-preview.14 entry.

Forma's build embeds the folder of locale files a project's .locale.json names as localesDir, and the runtime reads
each of the assembly's names without that folder. The linter read every name without .locales alone, so a project
naming another folder had its files dropped or read into the wrong name. The folder is read once from the assembly's
config and handed to every reader of the assembly's own names; a pack's files and an application's for other
assemblies keep .locales, as the runtime reads them. A project whose items were not read is taken to embed that
folder's files and its root .locale.json, as the build does.
LOC0027 and LOC0122 took a name's extension from the name itself, so a file embedded under a name of its own was read
for a culture the runtime never reads it for, and a name with no extension threw. They now read a name by the
format's extension, as the runtime does.
Forma's build now embeds only the JSON that carries $localization in a pack as in any other project.
@soyeyalon
soyeyalon merged commit 0d2a1be into main Nov 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant