Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Custom Fields in Language Pack

11 years 11 months ago #217232 by Bit STupid
Custom Fields in Language Pack was created by Bit STupid
Hi People

I am looking for some help, having searched to know avail. What I am trying to do is this:
I have created some custom fields for my registration form eg one is cb_homestreet1 (the title of this is Home Address 1)
I have installed the Chinese Simplified Language pack (working on a Traditional Chinese one as we speak so I can give back as well as taking!). The language pack works great.
What I need to do though is to add in my custom fields so that these also get translated.
I have tried adding this into the PHP file by copying what is around me

eg there is this field line already in the PHP file DEFINE('_UE_EMAIL','电子邮件');
So based on this I have tried this for my cb_homestreet1 custom field
DEFINE('_UE_cb_homestreet1 ','家庭住址1'); (I have also tried every concieveable variation on this too - without the UE without the cb all capitals all lowercase etc etc etc)

Alas nothing seems to work. I can find loads of info about adding the custom fields to the admin emails and so on. One thing I did notice though is that in the default language.php file my custom fields do not appear, do they need to go in their first?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum