Forum Activity for @pch

pch
@pch
11/12/15 09:34:23PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

Also:

1) Right now i am stuck with the translation of the menu created using the menu builder / editor. How to get it translated when the site language change? The "Create account" and "sign in" menu item get translated because they are hardcoded. What about the menu item created with the menu editor? How to translate them without hacking the code?

2) I have 4 facebook fan pages. One for each language version I will be offering (en, es, fr. pt) and 4 mailing lists (en, es, fr. pt) from another mailing service that provide me with a newsletter sign up form code snippet that I can place anywhere on the internet.

How to place them in JR using the Site Builder? How to get the English Facebook Fan box to show when the english version of the site is displayed and the Spanish Facebook Fan box when the spanish version of the site is displayed and so forth?

Using the Site Builder, how to display the english newsletter sign up form (for the english mailing list) when the site is displayed in English, and the spanish newsletter sign up form (for the spanish mailing list) when the site is displayed in spanish and so forth?

3) How to translate meta tag of page created using the site builder? How to add the meta tag corresponding to a specific language version?

Please, if someone can help me with these questions I will appreciate it. I am stuck!

Thanks for helping.
pch
@pch
11/12/15 09:21:16PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

Hi Michael,

Yes the multi-languages approach in JR still needs to be improved a lot. So many things still need to be done.

I am a Joomla user and Joomla is very very far beyond JR when it comes to handling multi-languages. Many joomla template providers like rockettheme, joomlart etc have their own framework (gantry, T3 etc) which works almost like the JR site builder (with widgets and modules drag etc) but they are a little bit more advanced than the one provided here in JR and they are handling multi-languages pretty well.
Maybe the JR Dev team should learn from Joomla and their template providers how they handle multi-languages and maybe copy from them. They have done an awesome work. IMHO, even the translation approach in JR needs to be discussed again.

In Joomla and their templates (3rd party templates), I can build modules (widget) and module positions dragging things here and there. I can create menus and menu items and assign them to the language I want (en, es, fr, pt etc). but I can't do it here in JR.

About what you have said, I think it shouldn't be a big issue. Only the site interface should be translated. No need to translate the site content (audio and video). if there are many languages, the user is going to see all the songs but he/she can filter them with keyword searches or tags in a specific language. Many audio-video sharing sites like youtube use this approach.

Yes, replaying email requests that come in each of the languages is a bit challenging, but for someone who speaks all these languages, that shouldn't be a big deal.

Thanks
updated by @pch: 11/13/15 07:15:52AM
pch
@pch
11/12/15 07:26:34PM
328 posts

No Flag images in the jrElastic Skin


Using Jamroom

Hi Michael,

Thanks for the reply. My JR is installed in a sub-folder: site.com/jamroom/

If i use the code provided in the documentation with the {$jamroom_url}, I get this:

<img title="Spanish" src="http://www.site.com/jamroom/http://www.site.com/jamroom/skins/jrElastic/img/flags/es.png" alt="ES">

It makes the image location url invalid. I have removed the {$jamroom_url} code and everything works fine. The flag image starts showing.

Thanks
pch
@pch
11/12/15 07:17:50PM
328 posts

How to create child menu items (drop downs) using the Menu Builder


Using Jamroom

Awesome! Great work, Michael. Thanks a lot.
pch
@pch
11/10/15 05:12:05AM
328 posts

Unable to create the Audio Page using the Site Builder


Using Jamroom

Hi Michael,

Thanks for the reply.

Yes, I have been doing exactly what you said. After turning on combined audio and changing its URL to 'audios', I've checked the integrity, then I visited the /audio page. I can see the same thing as the screenshot image you have attached to your post. But when I hit the 'Yes - Create This Page' button, unfortunately the page reloads and nothing happens. The page is not created.

Maybe it is a bug in JR5. Couple years ago, I have managed to achieve the same thing with JR4. It worked without any problem. In JR4, the module url that needed to be changed was the 'Audio module' (audio support) not the 'combined audio'. It was the 'support audio' module that was using 'audio' as a module url.

Also, maybe the 'audio' url is hard coded somewhere in JR5 because when instigating the issue and visiting one of the Forum's member site, I have noticed that the 'audio' url was used in the link to download the audio file in JR. if you mouse hover the download icon, you will see 'audio' in the download link.

Question: In the screenshot you posted, i can see that you created a menu called "audio". Have you successfully managed to create its page (/audio) too when hitting the 'Yes - Create This Page' button? Please can you do this test for me in your system so that we can try to recreate this issue?

Thanks a lot for helping.
pch
@pch
11/09/15 05:46:49PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

brian:
No - that is incorrect - all of our skins are already setup to use jrCore_lang throughout - Elastic is just not setup with flags (since it only had 1 language file - en-US)

Thanks Brian,

I was really sad after reading your previous post but now I feel better. I love JR, I love the new site builder feature and I love the jrElastic skin. It's clean, modern and looks professional although all the skins are professional too.

It's reassuring to know that all the skins are already setup to use jrCore_lang throughout. Great news!

I have cloned the English file. Now I have 4 languages and i have started translating them. Also i have added the code for flags. Then i think I should be ready to go! I will just be adding widgets using the Site Builder

What do you mean by "Elastic is just not setup with flags"? Is there anything else to be done beside adding the code (flags) to change the languages like described in here?:

https://www.jamroom.net/the-jamroom-network/documentation/development/541/translate-jamroom-into-another-language


Thanks
pch
@pch
11/09/15 03:25:22PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

brian:
It needs to be added anywhere there is a hard coded string you want to change depending on the viewers language.

If i understand you well, it means it is almost impossible to use the jrElastic skin for multilingual site, unless I manually add the {jrCore_lang} to every single code or text within the skin, right? The jrElastic skin is not ready for multi languages right?

I am not creating a new template. I will be using the jrElastic skin with the JR modules. I will not create new modules. i will be using the ones i installed from the marketplace. The jrElastic skin and modules don't have the jrCore_lang built-in?

Very confusing.
updated by @pch: 11/09/15 04:51:18PM
pch
@pch
11/09/15 01:53:54PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

douglas:
The language files and the jrCore_lang function are what makes the site multi lingual.

https://www.jamroom.net/the-jamroom-network/documentation/development/783/jrcore-lang

You'll want to make sure that whatever you want translated is using the jrCore_lang function.

ie.

{jrCore_lang skin=jrCore_active_skin id="XX" default="Default Text"}


where XX is the language id you want and the Default Text is whats used if the function doesn't find the id in the language file.

Hey Doug,

Thanks four fast reply.

I am still confused. As said in my previous post: Where exactly in the jrElastic Skin should the {jrCore_lang} function be added? Can it be added globally.

Or Should it be added manually to the code, meaning template page per template page? Can it be declared once in the template header so that it can apply to the whole site (template)?

Thanks
pch
@pch
11/09/15 01:48:06PM
328 posts

How to build a JrElastic multilingual-based site using the Site Builder?


Using Jamroom

brian:
Creating a multi lingual site is a little bit more involved than just clicking buttons - mainly because you need to tell Jamroom WHAT language strings need to go where.

For existing templates used in Site Builder (say creating an audio list) then YES - those templates are setup to be multilingual. That does NOT mean the language you want to use is supported - support for languages other than en-US has to be ADDED to Jamroom. You can do this via the "Clone a Language" option in the ACP -> Users -> User Accounts -> Tools section.

Once that is done, the you would do like Douglas has outlined and use the {jrCore_lang} function in your custom templates to tell JR what lang string to place there.

Let us know if that helps.

Hey Brian,

Thanks for the reply.

1) I have all the module installed and I have already cloned the language. Now I have 4 languages. (English, Spanish, French and Portuguese)

2) In the template, I have already added the code to display the language flag.

3) Where exactly in the jrElastic Skin should the {jrCore_lang} function be added? Can it added globally. Example: to the header?

Please can you be more specific and show us a Comprehensive Step-by-Step Guide on how to build a multilingual site using the Site Builder and the jrElastic skin?

Many Thanks in advance.
pch
@pch
11/09/15 12:12:53PM
328 posts

Unable to create the Audio Page using the Site Builder


Using Jamroom

paul:
Yeah, the Combined Audio module does switch the module urls. Yes, change the Combined one instead.

Still doesn't work even after changing the Combined audio module url.

It seems to me that the url "audio" exist somewhere in the JR and it is hard coded.

Any other idea?

Thanks
  24