You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select the LOCAL option, in order to load the main theme files from the local installation
Open the CSS file of the currently selected theme (main-campfire in my case): wp-content/themes/alps-wordpress-v3/app/local/alps/3.11.4/css/3.11.4-main-campfire.css
Translate all hard-coded strings in your target language
Note: This doesn't solve the issue for multilingual sites, as it will only display the text in 1 language. Note 2: Doesn't work well, because upon theme update, you need to update the translations again
Version of ALPS for Wordpress
Description:
At the moment, not all theme elements are translatable:
Upon inspecting the DOM element of this button, I saw that the label "Show" comes from the CSS file of the theme (main-campfire in my case), which by default is loaded from the CDN:
https://cdn.adventist.org/alps/3/3.11.4/css/main-campfire.css
I tried generating translation
.po
and.mo
files for my target language and installing them in the Wordpress theme, but it didn't solve the issue.I inspected this repository and saw a couple of cases where the English version of those labels are hard-coded into the CSS:
alps/source/css/_objects.buttons.scss
Line 81 in eb1f00a
alps/source/css/_objects.buttons.scss
Line 89 in eb1f00a
alps/source/css/_objects.buttons.scss
Line 121 in eb1f00a
Temporary solution
ALPS Core files version
sectionLOCAL
option, in order to load the main theme files from the local installationwp-content/themes/alps-wordpress-v3/app/local/alps/3.11.4/css/3.11.4-main-campfire.css
Note: This doesn't solve the issue for multilingual sites, as it will only display the text in 1 language.
Note 2: Doesn't work well, because upon theme update, you need to update the translations again
Related issue
adventistchurch/alps-wordpress#549
The text was updated successfully, but these errors were encountered: