Sometimes, some strings/texts might not be found by translation tools or by accident, developers coded as fixed string within internal files of a WordPress theme. I will go over steps how to find a translatable strings/texts using Sublime Text.
Step 1: Download and Install Sublime Text software.
Check out documentation at http://docs.sublimetext.info/en/latest/index.html
Step 2: Download the latest theme from Themeforest at: https://themeforest.net/downloads
Step 3: Unzip the theme package:
+ Right-click on the package and select Extract Here
+ Choose the folder that contains the theme file and open it:
+ Again, unzip the theme file:
Step 4: Open up Sublime Text software that you’ve installed:
+ Go to File > Open Folder
+ Select the extracted theme file in Step 3:
Here is how it looks:
Step 5: Right-click on the theme folder and select Find in Folder…
Now, you can enter your texts you wanna translate:
I want to translate the text “THE END” from a button on my site:
I filled in Find field and found the text located in these files:
Now click on the file (the yellow directory) you wanna edit/translate the texts. Looking for target texts and replace it with your own words.
Step 6: Save your changes and upload to your host.
Hope this helps 🙂 Cheers!