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
fix: remove algolia indices and urls from translations #41043
fix: remove algolia indices and urls from translations #41043
Conversation
c699b2d
to
d7b5699
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@RandellDawson This would be a good test of what happens we delete stuff on a translated file both the source and translation.
@raisedadead @nhcarrigan and I have a plan.
This is the easiest way to bring us back into sync. Hopefully, we will not be making any further changes to the non-English versions of these files outside of Crowdin in the future. |
@RandellDawson, looking at the Would it be better to extract those footer links from the I'm thinking this might be the way to go because we've had some issues with text overflow on News, and need to make changes before updating the theme. If we'll handle those on Crowdin as well, is it possible to hide those links so they're not accidentally changed? |
@scissorsneedfoodtoo We can hide any string in the JSON files manually or create an action to hide specific keys' values by key name (i.e. I would leave them in |
@RandellDawson, awesome, that sounds like a plan. Looking over the file again we shouldn't need to remove any other keys, at least as far as I can tell. |
Let's not mix translatable and untranslatable content in one file if we can avoid it. We already have files like |
Checklist:
Update index.md
)main
branch of freeCodeCamp.Closes #41029
This PR moves the Algolia index names and News search page URLs out of the
translation.json
files to prevent accidental changes on CrowdIn.It also adds some basic tests for the search bar.