Customize text in Sunshine
As of writing this, there are over 3,000 strings of text throughout Sunshine and all the add-ons. Having a built-in tool for customizing every string isn't feasible. However, the great thing about WordPress is its vast plugins like Say What? which is a perfect solution to handle customizing strings in Sunshine, or any other plugin/theme, with ease and for free. Install this plugin and follow the steps outlined within it to translate any text within Sunshine Photo Cart.
The text domain to use is "sunshine-photo-cart". You can leave the Text Context empty.
Troubleshooting Common Issues
The Original string must be in English
If your site is in another language besides English, you must set the "Original string" to be the English version. The fastest way is to temporarily set your language to English in your user profile within the WordPress admin or you can search the language translations here.
Strings are case sensitive
Be sure that the Original String is an exact match. This means "Original text string" is not the same as "original text string" as one uses a capital letter while the second does not.
Some strings use placeholders
WordPress allows strings ready for translations to use placeholders - text that is not known until the page is rendered. For example, a string like:
An account has been created for you at email@domain.com
The original string is actually:
An account has been created for you at %s
Notice the "%s" which is the placeholder that is replaced when the text is actually shown. You will need to use the original string that includes the placeholder for the Original String value within the Say What? options.
If you think the string you want to customize is using a placeholder, you can look at the original translation file within the Sunshine Photo Cart plugin files, specifically in the languages directory. Find the "sunshine-photo-cart.pot" file and search within it for parts of the string. For example, you could search for "An account has been created" to find the full string translation.
If you cannot find a text string, contact support and ask for help tracking it down. It could be that you simply overlooked it, or that the text string isn’t translation-ready.
Still need help?
If you have not yet found your answer in the documentation articles, please contact support