logo

Template localization

Introducing Localization Support in Zeabur Templates

PanPan

At Zeabur, we are committed to enhancing user experience by providing tools that cater to diverse needs. In our latest update, we are excited to announce the support for localization in our templates, allowing users to create and customize templates in multiple languages, making it easier to reach and engage a global audience.

Benefits of Localization in Templates

  • Enhanced User Experience: Localization ensures that users interact with content in their preferred language, improving comprehension and satisfaction. This leads to a more personalized and engaging experience.

  • Wider Audience Reach: By supporting multiple languages, you can expand your reach to international markets. This opens up opportunities to connect with a broader audience, increasing your potential user base.

  • Improved SEO: Localized content tends to perform better in search engines for local queries. This means your template page can achieve higher rankings in search results, driving more organic traffic from different regions.

  • Competitive Advantage: Offering localized content sets you apart from competitors who may only provide content in one language. This can be a key differentiator, especially in markets where language diversity is significant.

Usage of Localization in Zeabur Templates

Currently, the localization of Zeabur Templates can be only done with Template Resource YAML. You can download the Resource YAML of your template by adding .yaml to the end of your template URL, for example:

https://zeabur.com/templates/VZGGTI.yaml

After downloading the resource YAML, you can add the localization to the Resource YAML using the localization key.

apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: RSSHub
spec:
    # omitted
localization:
  zh-TW:
    description: RSSHub 是一個開源、易於使用且可擴展的 RSS 資訊聚合器,能夠從幾乎所有來源生成 RSS 資訊
    variables:
      - key: PUBLIC_DOMAIN
        type: DOMAIN
        name: 網域
        description: 你想將 RSSHub 綁在哪個網域上?
    readme: |-
        # RSSHub
        RSSHub 是一個開源、易於使用且可擴展的 RSS 資訊聚合器,能夠從幾乎所有來源生成 RSS 資訊。

        RSSHub 提供來自各種來源的數百萬內容,我們充滿活力的開源社群確保提供 RSSHub 的新路線、新功能和錯誤修復。

Then, you can update your template with Zeabur CLI:

npx zeabur template update -c <template-code> -f <path-to-your-resource-yaml>

For more information, you can check Localization in Creating Templates from YAML.

Conclusion

The addition of localization support in Zeabur templates continues matching our mission to provide versatile and user-friendly tools. By enabling you to create multilingual content effortlessly, you can reach new heights in your digital endeavors. Explore the new localization feature today and experience the benefits of engaging a global audience with ease.

Stay tuned for more updates and enhancements from Zeabur as we continue to innovate and improve our platform to meet your evolving needs.