Hi
I am porting a form that was created in CF v.4 with YooTheme's UIKit components to V5. The UIKit utilized many tokens in the design, which are translated by the Multi Language utilities in V4 when the form is rendered. For example, I would have the following in the Translation String in Multi Language:
##firstname##=First Name
##lastname##=Last Name
##email##=Your Email
##subject##=Subject
##message##=Your Message
##button##=Send Message
But there is no Multi Language utility in V5… And it is not obvious what its equivalent would be in V5 either... Any suggestions?
Looking forward to your reply.
Thanks,
SH
I am porting a form that was created in CF v.4 with YooTheme's UIKit components to V5. The UIKit utilized many tokens in the design, which are translated by the Multi Language utilities in V4 when the form is rendered. For example, I would have the following in the Translation String in Multi Language:
##firstname##=First Name
##lastname##=Last Name
##email##=Your Email
##subject##=Subject
##message##=Your Message
##button##=Send Message
But there is no Multi Language utility in V5… And it is not obvious what its equivalent would be in V5 either... Any suggestions?
Looking forward to your reply.
Thanks,
SH
Hi Bob
Ok, I am back to working on the form.
I found the tab, but I can't get it to work. The form still shows the strings instead.
The tab gives the user the ability to target multiple languages, and that gives me the impression that an additional setting is probably required to ask the form to pick up the target language. Where is that set?
Thx,
SH
Ok, I am back to working on the form.
I found the tab, but I can't get it to work. The form still shows the strings instead.
The tab gives the user the ability to target multiple languages, and that gives me the impression that an additional setting is probably required to ask the form to pick up the target language. Where is that set?
Thx,
SH
Hi studiocardo,
As far as I know it picks up the current Joomla! language setting from the JLanguage object.
Bob
As far as I know it picks up the current Joomla! language setting from the JLanguage object.
Bob
Just for the record, there is a multi-language example in the V5 RC4 release. The catch here is that CF uses all lower-case tokens, e.g. "en_gb", which is different from the Joomla convention.
Once I used "en_gb", the string swapping works.
SH
Once I used "en_gb", the string swapping works.
SH
This topic is locked and no more replies can be posted.
