I copied the website into XAMPP to test with JA Multilingual.
As soon as I called the component this error appeared.
1062 Duplicate entry 'mainmenu-en-gb' for key 'idx_menutype'

Which puzzles me because that menu (unused) has only two items associated with an article and categories.

I would also like to know if before launching JA Multilingual I already have to create the items of the menus and articles in the different languages and associate them with each other and if I have to link menus and pages.

Many thanks in advance.

    whitetiger Hi

    With JA Multilingual, you only need to have Menu, Menu items, articles created as normal. Then it will help to translate to other languages for you automatically.

    Could you share the backup of your site so I can check in my local and see how it goes?

      saguaros
      I transferred the test environment from the PC with XAMPP to a server on the Internet.
      Then I entered my login details.
      Many thanks

        whitetiger As I can see that your test site has multilingual already, did you create it or using JA Multilingual?

        Could you share a backup of your live site so I can test in my local and see how it goes?

          saguaros
          The test site is the exact copy of the "live" site.

          The site was initially configured for Italian and English, but other languages were also planned.
          For reasons of time, we only continued with the Italian language, now we need to complete the English language and activate the new ones.

          Maybe I don't understand the purpose of JA Multilingual.
          In fact I was wondering if the pages and menus are created by the component or if they should be created by hand.
          Is the text translated and then simply inserted on a blank page, or is it inserted keeping the graphics of the starting page (bolds, images, shortcodes, etc.)?

          The site was created entirely by hand.
          That's what the test with JA M. was for, but there's an error that prevents me from doing it.
          If this can simplify the work, given that the English language is not used because it is still incomplete, I can also think of having only the Italian one (removing all the pages and menus in English) and then having the English generated by JA M., but there is no documentation to use as a guide.

          I am planning the development of two more multilingual sites and I need to know if JA Multilingual will help me, how it will help me and how much it will help me.

            saguaros
            OK.
            I have a second copy locally with
            xampp-portable-windows-x64-8.1.17-0-VS16

            with "batch" I transformed all the Item Menus, Categories and articles from English to "all".
            At this point the error blocking JA M. has disappeared, but this new error has appeared
            Deprecated: Optional parameter $id declared before required parameter $context is implicitly treated as a required parameter in W:\MyWeb\xampp-portable-windows-x64-8.1.17-0-VS16\htdocs\test-newbackup\administrator\components \com_jalang\helpers\translator\translator.php on line 880

            I created the key, but your online guide still refers to Bing, instead now we need to create it in Azure.

            Then I would like to choose what to translate, but I don't see how to do it.
            If I press "Translate All", this error appears on the right
            Failed: Failed Translate: The request is not authorized because credentials are missing or invalid.

            At the end, the error Fatal error appears
            Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 119541760 bytes) in W:\MyWeb\xampp-portable-windows-x64-8.1.17-0-VS16\htdocs\test-newbackup\administrator\components\com_jalang\helpers\translator\translator.php

              whitetiger The first deprecated message due to the PHP version only.

              With the second error message, you can try increasing the memory limit allocated to PHP. Locate your PHP configuration file (php.ini) and search for the "memory_limit" directive. Increase the value to a higher limit, such as 512M or 1G. Save the changes and restart the web server. The current value of memory_limit on your server seems not to be enough.

                saguaros
                I did a thorough check of all the Item Menus; there were indeed duplicates, but in different menus than the one reported.
                Now I know for sure that there aren't any because by moving them all in one menu, Joomla doesn't report any.
                Instead, it is JA Multilingual that reports duplicates even in the "ZZZ-Top Menu (en-GB)" which is empty.

                I uploaded this new website to the "time" subdomain; I leave the "test" subdomain, but I don't use it anymore.
                The login credentials are always the same.

                  whitetiger If you have IT language by default, then you use JA Multilingual to translate to other languages. JA Multilingual will create menus / modules / etc ... for other languages. I guess you've already created menus for other languages so the duplicated error occurs.

                  Write a Reply...
                  You need to Login to view replies.