# Create website string in code in Litium 7

**URL:** <https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [October 15, 2018, 9:32pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292 "2018-10-15T21:32:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [October 15, 2018, 9:32pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/1 "2018-10-15T21:32:49Z")

</div>

Is it possible to create websitestring via code like in prevoius versions of litium in Litium 7 and if so is it possible to get an example. The beta ccelerator doesnt seem to contain any examples of this.

Litium version: 7

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [October 16, 2018, 7:58pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/2 "2018-10-16T19:58:20Z")

</div>

The declarative way that was existing in previous versions will not exists in the RTM version but is included in the plan to bring back and get a better developer first experience. The same for declarative data modeling (field and field templates).

---

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [December 5, 2018, 12:54pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/3 "2018-12-05T12:54:23Z")

</div>

As a follow up question… Where are this code that creates the website strings in the accelerator and the translate definitions?

There are bad translations for website string and some websitestring are missing but i can’t find any websitestrings in the accelerator code base.

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [December 5, 2018, 1:21pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/4 "2018-12-05T13:21:32Z")

</div>

> [@Spotonkastebo](#):
>
> As a follow up question… Where are this code that creates the website strings in the accelerator and the translate definitions?

They are in the accelerator deployment package file so it is hard to change the default translations there on an easy way. It will be released an service release probably in the end of next week that have updated translations for page types and some added strings that was missed.

Do you have a list of the website texts that you have found missing, then I can check that we have added them?

---

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [December 5, 2018, 2:01pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/5 "2018-12-05T14:01:32Z")

</div>

> [@patric.forsgard](#):
>
> Do you have a list of the website texts that you have found missing, then I can check that we have added them?

I dont have it now and i I rather see the website string and translations where included in the accelerator code like all field translations.

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [September 9, 2019, 8:26am UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/6 "2019-09-09T08:26:40Z")

</div>

@patric.forsgard Any updates regarding improved handling of website texts?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [September 9, 2019, 10:55am UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/7 "2019-09-09T10:55:26Z")

</div>

No, no update how the website text are handled.

---

<div class="post-metadata">

**Author:** ![marten](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/marten/32/11_2.png) [@marten](https://forum.litium.com/u/marten)\
**Post date:** [October 15, 2019, 3:49pm UTC](https://forum.litium.com/t/create-website-string-in-code-in-litium-7/292/8 "2019-10-15T15:49:12Z")

</div>

There is now a sample avaliable on how you can create website texts in code

Follow the link from [https://github.com/LitiumAB/Samples](https://github.com/LitiumAB/Samples)
