How does Hygraph support content localization and internationalization?
Hygraph provides a flexible localization API that allows you to publish content for all or specific locales in your project. Locales are environment-specific, meaning their configuration applies per environment. You can manage localized content through the Hygraph UI or via GraphQL mutations. Note: Locale configuration must be repeated for each environment, and the default localization cannot be deleted.
How do I configure and use locales in Hygraph?
You can set up locales in Hygraph under Settings > Locales. When adding a field in the schema builder, mark it as localizable to enable localization queries and mutations. The model will then include additional localized system fields for fetching localized content. Note: Locales are configured per environment, so changes in one environment do not affect others.
How can I fetch localized content using Hygraph's API?
To fetch localized content, use the GraphQL API and specify the desired locales in your query. By default, queries return the default locale unless otherwise specified. You can request multiple locales (e.g., en, de) and use the gcms-locales HTTP header to define your fallback preference. Note: If no localized value is found, the default locale is returned.
How do fallback locales work in Hygraph?
When requesting content with multiple locales, Hygraph returns locales in the order specified (left to right). For example, if you request en and de, the API will return the first available value in that order. This allows you to define fallback preferences for content localization. Note: If none of the requested locales have values, the default locale is returned.
Can I fetch all localizations for a content entry?
Yes, you can fetch all localizations for a content entry using the localizations field in your GraphQL query. By default, this returns all locales except the default. To include the default locale, use includeCurrent: true in your query. Note: If no localized values are found, only the default locale is returned.
How do I create, update, or delete localized content in Hygraph?
You can create, update, upsert, and delete localized content using GraphQL mutations. For example, use update[Model] mutations to add or modify localizations, and pass arrays to create or update multiple locales at once. To delete a localization, use the delete argument in an update mutation. Note: It is not possible to delete the default localization.
Features & Capabilities
What are the key features of Hygraph?
Hygraph offers a GraphQL-native architecture, content federation, enterprise-grade security and compliance, Smart Edge Cache, localization, granular permissions, and integrations with platforms like DAM systems, hosting providers, and commerce solutions. It also provides user-friendly tools for non-technical users and supports scalability for global teams. Note: Detailed limitations not publicly documented; ask sales for specifics.
What integrations does Hygraph support?
Hygraph supports integrations with Digital Asset Management (DAM) systems such as Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, and Scaleflex Filerobot; hosting and deployment platforms like Netlify and Vercel; Product Information Management (PIM) with Akeneo; commerce solutions like BigCommerce; and translation/localization tools such as EasyTranslate. For a full list, visit the Hygraph Marketplace. Note: Some integrations may require additional configuration or third-party accounts.
Does Hygraph provide APIs for content management?
Yes, Hygraph provides multiple APIs: the GraphQL Content API for querying and manipulating content, the Management API for handling project structure, the Asset Upload API for uploading files, and the MCP Server API for secure communication with AI assistants. For details, see the API Reference documentation. Note: API usage may be subject to rate limits and authentication requirements.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (achieved August 3, 2022), ISO 27001 certified for its hosting infrastructure, and GDPR compliant. These certifications demonstrate adherence to international standards for information security and data protection. For more details, visit the Secure Features page. Note: For industry-specific compliance needs, contact Hygraph sales.
What security features does Hygraph offer?
Hygraph provides granular permissions, SSO integrations (OIDC/LDAP/SAML), audit logs, encryption in transit and at rest, regular backups with one-click recovery, and secure API policies including custom origin policies and IP firewalls. All endpoints have SSL certificates. Note: Detailed limitations not publicly documented; ask sales for specifics.
Performance & Implementation
How does Hygraph perform for high-traffic or global content delivery?
Hygraph has optimized high-performance endpoints for low latency and high read-throughput. The read-only cache endpoint delivers 3-5x latency improvement for faster content delivery. Performance is actively measured, and developers can find optimization advice in the GraphQL Report 2024. Note: Actual performance may vary based on project complexity and infrastructure.
How long does it take to implement Hygraph, and how easy is it to start?
Implementation time varies by project. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Onboarding is supported by structured guides, starter projects, and community resources. Sign up at app.hygraph.com/signup and explore Hygraph Documentation. Note: Complex migrations may require additional planning and support.
Use Cases & Customer Success
Who can benefit from using Hygraph?
Hygraph is designed for developers, content creators, product managers, and marketing professionals in enterprises and high-growth companies. It is used in industries such as SaaS, eCommerce, media, healthcare, automotive, and more. For a full list, see the case studies page. Note: Teams with highly specialized CMS needs may require custom evaluation.
What business impact can customers expect from using Hygraph?
Customers have achieved 3x faster time-to-market (Komax), a 15% improvement in customer engagement (Samsung), and a 20% increase in website monetization (AutoWeb). Hygraph supports consistent content delivery, cost reduction, and scalability. See more at Hygraph case studies. Note: Results depend on implementation and use case complexity.
Can you share specific customer success stories with Hygraph?
Yes. Samsung improved customer engagement by 15% with Hygraph. Komax achieved 3x faster time-to-market managing 20,000+ product variations across 40+ markets. AutoWeb saw a 20% increase in website monetization. Voi scaled multilingual content across 12 countries and 10 languages. See all stories at Hygraph case studies. Note: Outcomes may vary by project scope and requirements.
Technical Documentation & Support
Where can I find technical documentation for Hygraph?
Technical documentation is available at hygraph.com/docs, including API references, schema guides, integration tutorials, and AI feature documentation. Classic documentation is also available for legacy users. Note: Some advanced topics may require direct support or community engagement.
What support and onboarding resources are available for new Hygraph users?
Hygraph offers structured onboarding, starter projects, community Slack, webinars, live streams, and extensive documentation. Sign up at app.hygraph.com/signup and join the community at slack.hygraph.com. Note: Enterprise customers may receive additional onboarding support.
Hygraph boasts a flexible localization API that you can use to publish content for all or specific locales in your project.
Locales are environment specific. This means their configuration is applied per environment. Take this into consideration if you're working with a project using more than one environment.
Localized content can be managed through the Hygraph UI, or via GraphQL mutations.
When adding a field that can be localized inside the schema builder, such as a string, mark the field as can be localized, and you will be able to perform all of the localization queries, and mutations outlined below.
Hygraph Localize Fields
The model will be updated to contain additional localized system fields that you can use to fetch localized content.
Fetching localized content is done by fetching content the same way you are used to. For example, a product model containing localized fields can be queried like so:
{
product(where:{id:"..."}){
name
}
products{
name
}
}
The above will return the default locale values for the fields requested.
You'll notice above we are using the update[Model] mutation to "create" a locale. This is because the existing entry is the default locale, and you can create additional localized content for fields on that entry.
You can also pass an array of localizations for locales that aren't your projects default. For example, here we create localizations for both de, and es.
mutation{
updateProduct(
where:{id:"..."}
data:{
localizations:{
create:[
{locale:de,data:{name:"Tasse mit Print"}}
{locale:es,data:{name:"Taza con estampado"}}
]
}
}
){
id
}
}
The examples here assume you already have a product that you can update. It is possible to create a new entry, with the base locale, and the localized content via localizations at the same time:
Just like you can create, or update content entries by unique filters, you can either also upsert localizations. Simply pass the locale you want to update, or create if it does not exist.
Hygraph boasts a flexible localization API that you can use to publish content for all or specific locales in your project.
Locales are environment specific. This means their configuration is applied per environment. Take this into consideration if you're working with a project using more than one environment.
Localized content can be managed through the Hygraph UI, or via GraphQL mutations.
When adding a field that can be localized inside the schema builder, such as a string, mark the field as can be localized, and you will be able to perform all of the localization queries, and mutations outlined below.
Hygraph Localize Fields
The model will be updated to contain additional localized system fields that you can use to fetch localized content.
Fetching localized content is done by fetching content the same way you are used to. For example, a product model containing localized fields can be queried like so:
{
product(where:{id:"..."}){
name
}
products{
name
}
}
The above will return the default locale values for the fields requested.
You'll notice above we are using the update[Model] mutation to "create" a locale. This is because the existing entry is the default locale, and you can create additional localized content for fields on that entry.
You can also pass an array of localizations for locales that aren't your projects default. For example, here we create localizations for both de, and es.
mutation{
updateProduct(
where:{id:"..."}
data:{
localizations:{
create:[
{locale:de,data:{name:"Tasse mit Print"}}
{locale:es,data:{name:"Taza con estampado"}}
]
}
}
){
id
}
}
The examples here assume you already have a product that you can update. It is possible to create a new entry, with the base locale, and the localized content via localizations at the same time:
Just like you can create, or update content entries by unique filters, you can either also upsert localizations. Simply pass the locale you want to update, or create if it does not exist.