Multilanguage with Astroid #557
-
Hi, Since I have 8 different template styles for 3 languages, that makes 24 template styles...! This is annoying, it's a pity that no other solution is available to avoid copying all my template styles, or maybe I missed something? ...but I can't see how to assign a different main navigation menu and by language in the header options. Too bad because it seems that this is the only element of the template that prevents keeping the same main menu for all languages. Many thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 19 comments 25 replies
-
I double that. It would be perfect if main menu and mobile menu of astroid header were module positions. That way, building a multilingual site would be much easier. |
Beta Was this translation helpful? Give feedback.
-
Do you know you have a special “Astroid Menu Module” — Don’t know if it can help You? |
Beta Was this translation helpful? Give feedback.
-
Hi, I don't know if this is a core Joomla restriction (I think so) and if other frameworks offer a solution to work around this limitation. |
Beta Was this translation helpful? Give feedback.
-
Yes, at least, one Template layout by language and you need to point the correct language menu to each Layout styles. I’m not sure if you can bypass the way Astroid/Joomla work now. |
Beta Was this translation helpful? Give feedback.
-
...just to understand multi-language with Astroid, okay to duplicate template styles which is still annoying and a pain to manage, but what about modules for each language? I think another way of selecting modules (or better still, adding one more way) in the template style would be a new feature I'd like to see in Astroid, such as selecting the module by category, by name... or by language! |
Beta Was this translation helpful? Give feedback.
-
—> All other Joomla frameworks work the same way, one Layout Style by language. About Modules If you assigned the layout position to a specific module, you will need to assigned the specific module in each Layouts (language). |
Beta Was this translation helpful? Give feedback.
-
...you are right, I completely missed the multilingual options in modules ... so stupid from my part! 👎 |
Beta Was this translation helpful? Give feedback.
-
But in general, is it possible to make a multilingual website without creating a template? like in the Cassiopeia template? otherwise in the Astroid template you need to duplicate styles for each language in order to assign a menu? |
Beta Was this translation helpful? Give feedback.
-
@sonvnn I think we need to consider this decision again. Maybe add an Asteroid plugin to manage a multilingual website? When enabling multilingualism, add the site languages modules as the main menu. At least 3 languages for the site. To avoid duplicating styles for each language. And in the Mobile Menu section. |
Beta Was this translation helpful? Give feedback.
-
Hi, So I'm thinking that every hack added to get round this problem is likely to cause serious incompatibility issues for every major Joomla update, if the developer suddenly disappears from the Joomla ecosystem (we've already been in this situation several times), on this point we are, unfortunately, deadlocked. |
Beta Was this translation helpful? Give feedback.
-
I work and build ONLY multilingual websites since Joomfish on Joomla 1.5 and, for me, even on very complex websites, I find the native Joomla system fantastic and easy to work with, all that in the familiar Joomla environment. For me, this is probably the most important point in choosing Astroid in the first place, because it completely relies on the core Joomla system. Doing otherwise will make me look to other frameworks. Sadly these other Frameworks, make the mistake of trying to reinvent the wheel inside Joomla and have a tendency to make you dependent on their system, and that is a big no, no for somebody building a website that endures time. My advice is to work with Joomla Multilingual for a while. I promise it will soon be second nature, and you will discover the power behind it. |
Beta Was this translation helpful? Give feedback.
-
@sonvnn maybe it’s worth adding to the section Site Menu and Mobile menu, position selection? then the modules of this position will be displayed. And add a menu module to this position |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
My only advice here is to Astroid to work in TOTAL tandem with Joomla and not become one of these ‘reinvent the wheel” framework. |
Beta Was this translation helpful? Give feedback.
-
Ok first, I will put a Chat GPT answer here to the question “In Joomla, do you need another template style for each language?” Response: In Joomla, you do not necessarily need a separate template style for each language, but it is a common practice to create a template style for each language when setting up a multilingual website. This allows you to manage different layouts, module assignments, and other style-related settings for each language individually. Here's a brief overview of the steps involved in setting up a multilingual site in Joomla:
By following these steps, you can effectively manage a multilingual Joomla site with different template styles for each language, ensuring that each language's content is presented with the appropriate layout and design¹. Source: Conversation with Copilot, 2024-05-22 |
Beta Was this translation helpful? Give feedback.
-
As @sonvnn say we need to think about this.... Some ideas and questions that come to my mind as a BRAINSTORMING ⚡️🧠⚡️
Will think to something else later.🙄 |
Beta Was this translation helpful? Give feedback.
-
Just thinking! 🤔 2. An hypothetical second way with a SINGLE Astroid layout that can be switched to do...
|
Beta Was this translation helpful? Give feedback.
-
Hi @iorbita @vtheod @rinka88 @Chacapamac @colognella Finally, I found a way to add module position to Astroid Header here afef57c To test this function:
Go to front end and check it. Thanks & Best Regards, |
Beta Was this translation helpful? Give feedback.
-
@sonvnn just one more maybe dumb question regarding this highly appreciated feature: in your screenshot you assign an astroid-header-mobilemenu position for the mobile menu. Is this something the template would need to offer (or I would need to create) or something which would be inherent to astroid? Asking for my project which doesn't seem to have this position (nor another mobile menu position) |
Beta Was this translation helpful? Give feedback.
@iorbita
—> All other Joomla frameworks work the same way, one Layout Style by language.
About Modules
If you show a module in a specific position and have 4 languages (and 4 Layout), you do not need to rename the position in the 4 layouts, you only need to specify the language of the 4 modules. Modules assigned to a language will not show on another language.
If you assigned the layout position to a specific module, you will need to assigned the specific module in each Layouts (language).