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

Blockbase: Adding translations #4135

Closed
wants to merge 2 commits into from
Closed

Blockbase: Adding translations #4135

wants to merge 2 commits into from

Conversation

scruffian
Copy link
Member

Changes proposed in this Pull Request:

This adds a simple PHP block which can be used to output translated strings. We store the translations in a file in the root of the theme, and then the block finds the string in the file and returns the translated one, if it exists.

Related issue(s):

#3653

@scruffian scruffian requested a review from a team June 30, 2021 14:46
@scruffian scruffian self-assigned this Jun 30, 2021
@scruffian scruffian closed this Mar 14, 2022
@scruffian scruffian deleted the add/block-for-i18n branch March 14, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant