# HubDB Translation

**URL:** <https://community.hubspot.com/t/hubdb-translation/12623>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [January 10, 2019, 1:21pm UTC](https://community.hubspot.com/t/hubdb-translation/12623 "2019-01-10T13:21:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhason](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mhason/32/88643_2.png) [@mhason](https://community.hubspot.com/u/mhason)\
**Post date:** [January 10, 2019, 1:21pm UTC](https://community.hubspot.com/t/hubdb-translation/12623/1 "2019-01-10T13:21:58Z")

</div>

Hi,

We currently have a web page that gets all content from a HubDB table. I need to add an additional language to this page. Creating just a translation of the page is obviously not working because the HubDB itself needs to be translated, but I can’t find any option to add a translation to the HubDB table.

Can anyone suggest how to approach this, please? Are HubDB tables translatable or do I need to create a completely separate table for each language?

Thanks in advance  
Maurice

---

<div class="post-metadata">

**Author:** ![LeifInouye](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leifinouye/32/13631_2.png) [@LeifInouye](https://community.hubspot.com/u/LeifInouye)\
**Post date:** [January 10, 2019, 7:15pm UTC](https://community.hubspot.com/t/hubdb-translation/12623/2 "2019-01-10T19:15:02Z")

</div>

Hi Maurice,

There is presently no way to create a translation of a HubDB table without cloning said table and populating the translated page with data from said clone.

---

<div class="post-metadata">

**Author:** ![mhason](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mhason/32/88643_2.png) [@mhason](https://community.hubspot.com/u/mhason)\
**Post date:** [January 10, 2019, 7:39pm UTC](https://community.hubspot.com/t/hubdb-translation/12623/3 "2019-01-10T19:39:51Z")

</div>

Thank you @Leif

That’s what I thought would be the answer, and meanwhile waiting for someone to reply that’s exactly what I did.

---

<div class="post-metadata">

**Author:** ![dannio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dannio/32/95715_2.png) [@dannio](https://community.hubspot.com/u/dannio)\
**Post date:** [February 21, 2019, 3:30am UTC](https://community.hubspot.com/t/hubdb-translation/12623/4 "2019-02-21T03:30:23Z")

</div>

I went around this issue by creating several columns in my database

i.e

- name
- chinese name

Then in my custom modules I have:

```auto
{% if (content.slug is string_startingwith "zh-cn/") or (content.slug =="zh-cn") %} 
{{ row.chinese_name }}
{% else %}
{{ row.name }}
{% endif %}

```
