Company
Date Published
Author
Ilesh Mistry
Word count
1362
Language
English
Hacker News points
None

Summary

Ilesh Mistry discusses the process of adding and retrieving localized strings from Kentico Cloud to GatsbyJS using GraphQL. He highlights the importance of managing static text elements in websites, particularly in multilingual settings, by leveraging content management systems like Kentico Cloud, which allows editors to manage these elements through localized strings. Mistry explains how to set up content types and items for localization, advises on determining language codes via URL or language switchers, and outlines the use of GatsbyJS with GraphQL to retrieve the localized content. He suggests creating separate projects for localization strings to streamline management across multiple environments and emphasizes the benefits of this approach for ensuring all localized strings are readily available, reducing the need for frequent updates. While acknowledging other methods, Mistry shares his recommended practices based on experience, emphasizing the challenges and flexible nature of working with Content as a Service platforms like Kentico Cloud.