Hi,
I've installed all the modules for language support in Drupal 8 supplied with Megatron theme.
(Language, Configuration Translation, Content Translation, Interface Translation) all enabled.
I've set the default language. I've enabled content type translation (see attachment awecontenttranslation)
When I go to Edit AWE Page, there is no tab for translation (see attachment awecontentedit)
So, how coud I map an AWE Page to a language, as to have the site switch from
megatron/en/myawepage
megatron/it/myawepage
??
Hi,
Firstly, you create an English page using awecontent, set menu link for that page. Then, make a clone of English page and translate the new page into Italian, set menu link for it. Finally, you attach English page to English menu and attach Italian page to Italian menu.
Thanks!
Then,
how to switch from a page to its translation using a page link such as 'language switcher'?
Another question:
in my homepage AWE Page I have put a Contact Form trough awe block.
How to put a translated contact form in the respective translated homepage AWE Page ?
Hello
Please send us the link of page contact form + admin account to log in and check your issue
Hello
You can translate strings of contact form here http://51.75.70.16/it/admin/config/regional/translate
Hi,
the 'main navigation' menu provided with the theme, has an Icon selection combobox.
I've created a new menu but it doesn't shows the icon selection combobox. How could I solve this?
icon selection is only available in main navigation. If you create another menu and you want icon selection option, we can guide you to do.
If you want us to customize for you, you will have to pay extra charge
Or you can try our module Megamenu https://megadrupal.com/project/md-megamenu
yes, could you guide me to do?
Hello
Please open file md_theme.module (modules/custom/md_theme), and add condition if() for your menu
Currently, there is only 1 menu: MAIN
Ok, after changing the if :
function md_theme_form_menu_link_content_menu_link_content_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
// Modification for the form with the given form ID goes here. For example, if
// FORM_ID is "user_register_form" this code would run only on the user
// registration form.
//kint($form_state->getFormObject());
if($form_state->getFormObject()->getEntity()->getMenuName() == "main" ||
$form_state->getFormObject()->getEntity()->getMenuName() == "main-navigation-english"
...
fu...nction md_theme_preprocess_menu(&$vars) {
if ($vars['menu_name'] == 'main' ||
$vars['menu_name'] == 'main-navigation-english'
I can see the icon combobox on the menu link edit page and I could save the icon.
But when I go to page, the menu icon for that link still doesn't show
Hello,
Override menu template, you can check 2 files: block--system-menu-block.html.twig and menu--main.html.twig in folder md_megatron
Thanks,
another thing about Megaslider.
I did clone Megaslider 1 but this clone doesn't disappear on mobile display width less than the settled size,
while the original Megaslider 1 supplied with the theme works well.
How to let this functionality works on the cloned one?
Good day! Please tell me how to remove the English language switch from the block?
https://prnt.sc/mjiljl
These actions have failed - https://prnt.sc/mjilwo
You can remove English here
http://drup.manzara.space/en/admin/config/regional/language
Thanks you! ) I was afraid to delete the language that is in the default theme.
Good day! Please tell me how to add a style field to the created menu in another language? By default, this is not in the template ..https://prnt.sc/mkapb5
please create another topic @veronika