Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop recreating dsl i18n on every seed #24384

Closed
wants to merge 2 commits into from
Closed

Conversation

Hamms
Copy link
Contributor

@Hamms Hamms commented Aug 17, 2018

In #24183, I added some logic to only sync CSF dsls i18n strings on level save. Unfortunately, I didn't realize that we also do a full dsls sync on every seed, which is both entirely unnecessary and is a method of syncing that makes it super difficult to determine whether or not the level in question is CSF.

So, I'm just going to disable that sync, and also revert dsls.en.yml back to what we expect it to be.

Since we're now trying to be more selective about our seeding
@Hamms
Copy link
Contributor Author

Hamms commented Aug 20, 2018

@Hamms
Copy link
Contributor Author

Hamms commented Aug 20, 2018

Turns out this legit breaks things (details in the trello card)

@Hamms Hamms closed this Aug 20, 2018
@Hamms Hamms deleted the stop-recreating-dsl-i18n branch August 20, 2018 21:53
Hamms added a commit that referenced this pull request Apr 4, 2019
Repeat of #24384

This broke things the first time because we depended on content being in
the dsls.en.yml file in order to render successfully; we no longer do,
so it should be safe to stop this.
@joshlory
Copy link
Contributor

joshlory commented Apr 8, 2019

@Hamms can you pull the details out here as well? Is the issue from #24183 (comment) ?

@Hamms
Copy link
Contributor Author

Hamms commented Apr 9, 2019

Yep! My "entirely unnecessary" comment in the PR description here turns out to be entirely untrue; it's absolutely necessary to recreate the dsl i18n on every seed because we rely on the dsl i18n not just for rendering translations, but also for rendering the English version. (My comment about this method of syncing making things harder than they need to be remains valid).

I address this is #27881 by making rendering the English version work fine regardless of the state of the dsl i18n.

@joshlory
Copy link
Contributor

Got it, thx for clarifying!

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.

None yet

3 participants