[Skip to main content](#vessel-content)

#   Message on registration form in different languages

##

- **[softdune](/forum/user/58135-softdune "View softdune's Profile")**
- [![softdune's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58135-softdune "View softdune's Profile") Topic Author
- [ Offline](/forum/user/58135-softdune)

Less More

- Posts: 33
- Thank you received: 2
-
-

7 years 7 months ago [\#305473](#305473) by [softdune](/forum/user/58135-softdune "View softdune's Profile")  *[Message on registration form in different languages](/forum/33-customers/897261-message-on-registration-form-in-different-languages#305473 "Hi,  I would like to add a message to the registration form in the context of:  &gt;  I currently did this by changing the registration.php This works fine when you use one language.  Since I'm working on a multi-lingual site, I would like to understand how do add a text , which I would be different depending on the selected language.")* was created by *[softdune](/forum/user/58135-softdune "View softdune's Profile")*

Hi,

I would like to add a message to the registration form in the context of:

&lt;&lt;
Registration for retailers only
If you are a retailer interested to become ... blablabla....
&gt;&gt;

I currently did this by changing the registration.php
This works fine when you use one language.

Since I'm working on a multi-lingual site, I would like to understand how do add a text , which I would be different depending on the selected language.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTcyNjEtbWVzc2FnZS1vbi1yZWdpc3RyYXRpb24tZm9ybS1pbi1kaWZmZXJlbnQtbGFuZ3VhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

7 years 7 months ago [\#305478](#305478) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message on registration form in different languages](/forum/33-customers/897261-message-on-registration-form-in-different-languages#305478 "Hi,  I would like to add a message to the registration form in the context of:  &gt;  I currently did this by changing the registration.php This works fine when you use one language.  Since I'm working on a multi-lingual site, I would like to understand how do add a text , which I would be different depending on the selected language.")*

In the registration.php file (or in any PHP file of your website), instead of directly writting your text, you can do:
&lt;?php echo JText::_('TRANSLATION_KEY'); ?&gt;

and then in each language override file of your website, you can add such line:
TRANSLATION_KEY="My text"

That's not really a HikaShop thing. That's purely Joomla's way of translating static text.
Some explanation provided by Joomla for templates as reference:
[ docs.joomla.org/Making\_templates\_translatable](https://docs.joomla.org/Making_templates_translatable)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTcyNjEtbWVzc2FnZS1vbi1yZWdpc3RyYXRpb24tZm9ybS1pbi1kaWZmZXJlbnQtbGFuZ3VhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[softdune](/forum/user/58135-softdune "View softdune's Profile")**
- [![softdune's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58135-softdune "View softdune's Profile") Topic Author
- [ Offline](/forum/user/58135-softdune)

Less More

- Posts: 33
- Thank you received: 2
-
-

7 years 7 months ago [\#305513](#305513) by [softdune](/forum/user/58135-softdune "View softdune's Profile")  Replied by *[softdune](/forum/user/58135-softdune "View softdune's Profile")* on topic *[Message on registration form in different languages](/forum/33-customers/897261-message-on-registration-form-in-different-languages#305513 "Hi,  I would like to add a message to the registration form in the context of:  &gt;  I currently did this by changing the registration.php This works fine when you use one language.  Since I'm working on a multi-lingual site, I would like to understand how do add a text , which I would be different depending on the selected language.")*

Thanks Nicolas. Very helpfull

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTcyNjEtbWVzc2FnZS1vbi1yZWdpc3RyYXRpb24tZm9ybS1pbi1kaWZmZXJlbnQtbGFuZ3VhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
