The Custom Content Feature allows you to translate content that you are not able to translate using the regular Theme Translations.



There are a few restrictions to make sure the Custom Content translations do not break your site:


- the original content must be enclosed by quotes or HTML tags

- the original content must not contain leading or trailing spaces and must not contain any newline characters.

- Custom Content is case sensitive



Here are some working examples:


Original Content: <span>Some text</span>

Custom Content: Some text


Original Content: "Some text"

Custom Content: Some text



Here are some examples that won't necessarily work:


Original Content: <span> Some text</span>

Custom Content: Some text (won't necessarily work because of the leading space)


Original Content: <span>Some text </span>

Custom Content: "Some text " (won't necessarily work because of the the trailing space)


Original Content: "some text"

Custom Content: "Some text" (won't necessarily work because of the case sensitivity)





With these restrictions in mind, here is how to add and translate Custom Content:

 



Step 1


Click "Add new custom content" in the "Translations / Custom" section.



The Custom section can be found in the bottom side, from langify -> Custom on the left hand menu


 

Step 2


Enter the content you would like to translate.



An example of a custom block with an example text in it



Step 3


Click "Create".



The freshly made and untranslated custom content block


Step 4


Translate the newly created content as you do with any other content.



A translated and unsaved custom content block




 



We hope this tutorial was of use, if you are still struggling with your translations or have encountered any problems which we haven't discussed here feel free to contact us.