Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant