- Posts: 10
- Thank you received: 0
Missing translation field
- mirza
- Topic Author
- Offline
- New Member
-
Less
More
12 years 7 months ago #19630
by mirza
Missing translation field was created by mirza
How can I translate field "Speaker" ?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 7 months ago #19719
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Missing translation field
Hi
where do you see this field ? I believe this field is not available in the extension .
Tuan
where do you see this field ? I believe this field is not available in the extension .
Tuan
Please Log in or Create an account to join the conversation.
- mirza
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
12 years 7 months ago #19724
by mirza
Replied by mirza on topic Re: Missing translation field
This filed is under Extra information tab in the Event: [ Edit ] form. I found that this field is stored in xml file called fields.xml. I have hardcoded the translation directly in the xml file but I in that case I have only my local version and I dont know how to put eng version
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 7 months ago #19752
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Missing translation field
Ah, that's just a sample custom field. If you want to change it title, please open the file components/com_eventbooking/fields.xml to change it's title .
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- mirza
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
12 years 7 months ago #19769
by mirza
Replied by mirza on topic Re: Missing translation field
OK i figured that out, but how to make that custom field to have two languages for example my local and also english version? Now I have only my local translation which I have put in xml file
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 7 months ago #19790
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Missing translation field
Hi
The solution is adding the language items to the language files. The steps are :
1. Change the label in the XML file to something like EB_SPEAKER (instead of speaker).
2. Open the English language file (language/en-GB/en-GB.com_eventbooking.ini), add the following line to the bottom:
EB_SPEAKER="Speaker"
3. Open your second language file (for example, if you are using Dutch, the language file is located at language/nl-NL/nl-NL.com_eventbooking.ini), add the following line to the bottom:
EB_SPEAKER="Translation of Speaker to Dutch anguage"
4. Do the same for other fields.
After that, everything will work as expected.
Regards,
Tuan
The solution is adding the language items to the language files. The steps are :
1. Change the label in the XML file to something like EB_SPEAKER (instead of speaker).
2. Open the English language file (language/en-GB/en-GB.com_eventbooking.ini), add the following line to the bottom:
EB_SPEAKER="Speaker"
3. Open your second language file (for example, if you are using Dutch, the language file is located at language/nl-NL/nl-NL.com_eventbooking.ini), add the following line to the bottom:
EB_SPEAKER="Translation of Speaker to Dutch anguage"
4. Do the same for other fields.
After that, everything will work as expected.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- mirza
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
12 years 7 months ago #19805
by mirza
Replied by mirza on topic Re: Missing translation field
I followed your instruction but then on both languages I see "EB_SPEAKER"
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 7 months ago #19823
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Missing translation field
Could you please submit a support ticket sending me administrator and FTP account of your site so that I can check and solve the issue for you ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.