Chemmacros scheme translation

How can I most clearly write a homebrew item that affects the ground below its radius after the initial explosion it creates?

How would a aircraft visually signal "in distress"?

Interview not reimboursed if offer is made but not accepted

What can plausibly explain many of my very long and low-tech bridges?

How to project 3d image in the planes xy, xz, yz?

Why would future John risk sending back a T-800 to save his younger self?

PhD - Well known professor or well known school?

How do I write "Show, Don't Tell" as a person with Asperger Syndrome?

What's the name of this light airplane?

Is open-sourcing the code of a webapp not recommended?

looking for a book of short stories I read in the 80's cannot remember name

Implement Homestuck's Catenative Doomsday Dice Cascader

Which comes first? Multiple Imputation, Splitting into train/test, or Standardization/Normalization

Are there downsides to using std::string as a buffer?

How to build suspense or so to establish and justify xenophobia of characters in the eyes of the reader?

Facebook Marketing API asset access suddenly denied

How Can I Tell The Difference Between Unmarked Sugar and Stevia?

Trapping Rain Water

Where does "0 packages can be updated." come from?

Can the poison from Kingsmen be concocted?

How is water heavier than petrol, even though its molecular weight is less than petrol?

Smooth switching between 12 V batteries, with a toggle switch

Do any instruments not produce overtones?

Compiling c files on ubuntu and using the executable on Windows



Chemmacros scheme translation














5















I'm trying to translate the word "Scheme" in the captions of chemmacros schemes. I'm writing in spanish, so I want to change "Scheme 1" to "Esquema 1", for example.



I don't know if I'm not understanding the manual or how the package and module (lang) work.



I tried a lot of things so far, but I have this and it gives error:



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

usepackage{chemmacros}
chemsetup{modules={scheme}}
DeclareChemTranslation{spanish}{scheme}{esquema}
DeclareChemTranslation{spanish}{Scheme}{Esquema}

begin{document}

begin{scheme}
caption{Lorem ipsum}
end{scheme}

end{document}


! Package translations Error: Unknown language `scheme'.See the translations package documentation for explanation.Type H for immediate help.... ...reChemTranslation{spanish}{scheme}{esquema}



I'm using this version: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) (preloaded format=pdflatex 2019.4.23) 3 JUN 2019 19:24










share|improve this question

























  • Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

    – Kurt
    10 hours ago


















5















I'm trying to translate the word "Scheme" in the captions of chemmacros schemes. I'm writing in spanish, so I want to change "Scheme 1" to "Esquema 1", for example.



I don't know if I'm not understanding the manual or how the package and module (lang) work.



I tried a lot of things so far, but I have this and it gives error:



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

usepackage{chemmacros}
chemsetup{modules={scheme}}
DeclareChemTranslation{spanish}{scheme}{esquema}
DeclareChemTranslation{spanish}{Scheme}{Esquema}

begin{document}

begin{scheme}
caption{Lorem ipsum}
end{scheme}

end{document}


! Package translations Error: Unknown language `scheme'.See the translations package documentation for explanation.Type H for immediate help.... ...reChemTranslation{spanish}{scheme}{esquema}



I'm using this version: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) (preloaded format=pdflatex 2019.4.23) 3 JUN 2019 19:24










share|improve this question

























  • Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

    – Kurt
    10 hours ago
















5












5








5








I'm trying to translate the word "Scheme" in the captions of chemmacros schemes. I'm writing in spanish, so I want to change "Scheme 1" to "Esquema 1", for example.



I don't know if I'm not understanding the manual or how the package and module (lang) work.



I tried a lot of things so far, but I have this and it gives error:



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

usepackage{chemmacros}
chemsetup{modules={scheme}}
DeclareChemTranslation{spanish}{scheme}{esquema}
DeclareChemTranslation{spanish}{Scheme}{Esquema}

begin{document}

begin{scheme}
caption{Lorem ipsum}
end{scheme}

end{document}


! Package translations Error: Unknown language `scheme'.See the translations package documentation for explanation.Type H for immediate help.... ...reChemTranslation{spanish}{scheme}{esquema}



I'm using this version: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) (preloaded format=pdflatex 2019.4.23) 3 JUN 2019 19:24










share|improve this question
















I'm trying to translate the word "Scheme" in the captions of chemmacros schemes. I'm writing in spanish, so I want to change "Scheme 1" to "Esquema 1", for example.



I don't know if I'm not understanding the manual or how the package and module (lang) work.



I tried a lot of things so far, but I have this and it gives error:



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

usepackage{chemmacros}
chemsetup{modules={scheme}}
DeclareChemTranslation{spanish}{scheme}{esquema}
DeclareChemTranslation{spanish}{Scheme}{Esquema}

begin{document}

begin{scheme}
caption{Lorem ipsum}
end{scheme}

end{document}


! Package translations Error: Unknown language `scheme'.See the translations package documentation for explanation.Type H for immediate help.... ...reChemTranslation{spanish}{scheme}{esquema}



I'm using this version: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) (preloaded format=pdflatex 2019.4.23) 3 JUN 2019 19:24







chemmacros spanish






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 10 hours ago







Daniel Álvarez

















asked 10 hours ago









Daniel ÁlvarezDaniel Álvarez

625




625













  • Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

    – Kurt
    10 hours ago





















  • Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

    – Kurt
    10 hours ago



















Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

– Kurt
10 hours ago







Please add to your question the complete error message you got in the log file (it is important to keep line breaks!). Which TeX distribution in which version do you use? Add the first line of your log file to your question, it tells us your used tex distribution and version number ...

– Kurt
10 hours ago












3 Answers
3






active

oldest

votes


















6














One issue is here an error in the manual.



You have to use the following definitions



DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================


to get no error message. Please see that the order of parameters has changed! First key, then language and then translation. In the manual this is simply wrong (see red arrow with flash), but the second command works as described ...



snippet of manual



Perhaps because l3kernel has changed it seems that the definitions above do not find their way into the document. Please see the following code



documentclass[spanish]{article} % <====================================

usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

usepackage{chemmacros}
chemsetup{modules={scheme}}
%chemsetup{language={spanish}}
DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================
%DeclareChemTranslations{scheme}{spanish=esquema} % <==================
%DeclareChemTranslations{Scheme}{spanish=Esquema} % <==================


begin{document}

begin{scheme}
caption{Lorem ipsum}
end{scheme}

end{document}


and its result (compiled with MIKTeX version pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050 64-bit)):



resulting pdf



As you can see the language for scheme has not changed!



Now adding



renewcommand{schemename}{Esquema}


after begin{document} gives you the following result:



resulting pdf



while adding the same line before begin{documents} results in an error because command schemename is only known after document has started ...



I did not investigated now the code (I did not learn using l3kernel until now) what is the reason that the new defined translation for scheme in spanish is not printed in the document.



I suggest you make a bug report for the maintainer of that package to get the manual corrected and to get an working translation ...






share|improve this answer































    2














    As @Kurt already mentioned, the manual is wrong and the language should come second. Moreover, the list of translation keys in the manual is also a bit confusing. The list mentions both scheme and scheme-name, but only scheme-name works. This can be traced in the source code of the scheme module around line 250, where schema-name is used for the predefined translation to German - but again somewhat confusingly in a ChemCompatibilityTo{5.6} block, so it might be an old version of the syntax - but at least it works.



    An issue on the Github page certainly looks like a good idea, to update the manual and/or the code to make the behavior more intuitive.



    MWE:



    documentclass{article}
    usepackage[utf8]{inputenc}
    usepackage[spanish]{babel}

    usepackage{chemmacros}
    chemsetup{modules={scheme}}
    DeclareChemTranslation{scheme-name}{spanish}{Esquema}

    begin{document}

    begin{scheme}
    caption{Lorem ipsum}
    end{scheme}

    end{document}


    Result:



    enter image description here






    share|improve this answer































      1














      A way to change it is simply putting renewcommand{schemename}{Esquema} after begin{document}, but I don't know why I can't change the translation.



      documentclass{article}
      usepackage[utf8]{inputenc}
      usepackage[spanish]{babel}

      usepackage{chemmacros}
      chemsetup{modules={scheme}}

      begin{document}
      renewcommand{schemename}{Esquema}

      begin{scheme}
      caption{Lorem ipsum}
      end{scheme}

      end{document}





      share|improve this answer
























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "85"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f494010%2fchemmacros-scheme-translation%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        6














        One issue is here an error in the manual.



        You have to use the following definitions



        DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
        DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================


        to get no error message. Please see that the order of parameters has changed! First key, then language and then translation. In the manual this is simply wrong (see red arrow with flash), but the second command works as described ...



        snippet of manual



        Perhaps because l3kernel has changed it seems that the definitions above do not find their way into the document. Please see the following code



        documentclass[spanish]{article} % <====================================

        usepackage[utf8]{inputenc}
        usepackage[spanish]{babel}

        usepackage{chemmacros}
        chemsetup{modules={scheme}}
        %chemsetup{language={spanish}}
        DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
        DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================
        %DeclareChemTranslations{scheme}{spanish=esquema} % <==================
        %DeclareChemTranslations{Scheme}{spanish=Esquema} % <==================


        begin{document}

        begin{scheme}
        caption{Lorem ipsum}
        end{scheme}

        end{document}


        and its result (compiled with MIKTeX version pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050 64-bit)):



        resulting pdf



        As you can see the language for scheme has not changed!



        Now adding



        renewcommand{schemename}{Esquema}


        after begin{document} gives you the following result:



        resulting pdf



        while adding the same line before begin{documents} results in an error because command schemename is only known after document has started ...



        I did not investigated now the code (I did not learn using l3kernel until now) what is the reason that the new defined translation for scheme in spanish is not printed in the document.



        I suggest you make a bug report for the maintainer of that package to get the manual corrected and to get an working translation ...






        share|improve this answer




























          6














          One issue is here an error in the manual.



          You have to use the following definitions



          DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
          DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================


          to get no error message. Please see that the order of parameters has changed! First key, then language and then translation. In the manual this is simply wrong (see red arrow with flash), but the second command works as described ...



          snippet of manual



          Perhaps because l3kernel has changed it seems that the definitions above do not find their way into the document. Please see the following code



          documentclass[spanish]{article} % <====================================

          usepackage[utf8]{inputenc}
          usepackage[spanish]{babel}

          usepackage{chemmacros}
          chemsetup{modules={scheme}}
          %chemsetup{language={spanish}}
          DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
          DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================
          %DeclareChemTranslations{scheme}{spanish=esquema} % <==================
          %DeclareChemTranslations{Scheme}{spanish=Esquema} % <==================


          begin{document}

          begin{scheme}
          caption{Lorem ipsum}
          end{scheme}

          end{document}


          and its result (compiled with MIKTeX version pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050 64-bit)):



          resulting pdf



          As you can see the language for scheme has not changed!



          Now adding



          renewcommand{schemename}{Esquema}


          after begin{document} gives you the following result:



          resulting pdf



          while adding the same line before begin{documents} results in an error because command schemename is only known after document has started ...



          I did not investigated now the code (I did not learn using l3kernel until now) what is the reason that the new defined translation for scheme in spanish is not printed in the document.



          I suggest you make a bug report for the maintainer of that package to get the manual corrected and to get an working translation ...






          share|improve this answer


























            6












            6








            6







            One issue is here an error in the manual.



            You have to use the following definitions



            DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
            DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================


            to get no error message. Please see that the order of parameters has changed! First key, then language and then translation. In the manual this is simply wrong (see red arrow with flash), but the second command works as described ...



            snippet of manual



            Perhaps because l3kernel has changed it seems that the definitions above do not find their way into the document. Please see the following code



            documentclass[spanish]{article} % <====================================

            usepackage[utf8]{inputenc}
            usepackage[spanish]{babel}

            usepackage{chemmacros}
            chemsetup{modules={scheme}}
            %chemsetup{language={spanish}}
            DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
            DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================
            %DeclareChemTranslations{scheme}{spanish=esquema} % <==================
            %DeclareChemTranslations{Scheme}{spanish=Esquema} % <==================


            begin{document}

            begin{scheme}
            caption{Lorem ipsum}
            end{scheme}

            end{document}


            and its result (compiled with MIKTeX version pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050 64-bit)):



            resulting pdf



            As you can see the language for scheme has not changed!



            Now adding



            renewcommand{schemename}{Esquema}


            after begin{document} gives you the following result:



            resulting pdf



            while adding the same line before begin{documents} results in an error because command schemename is only known after document has started ...



            I did not investigated now the code (I did not learn using l3kernel until now) what is the reason that the new defined translation for scheme in spanish is not printed in the document.



            I suggest you make a bug report for the maintainer of that package to get the manual corrected and to get an working translation ...






            share|improve this answer













            One issue is here an error in the manual.



            You have to use the following definitions



            DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
            DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================


            to get no error message. Please see that the order of parameters has changed! First key, then language and then translation. In the manual this is simply wrong (see red arrow with flash), but the second command works as described ...



            snippet of manual



            Perhaps because l3kernel has changed it seems that the definitions above do not find their way into the document. Please see the following code



            documentclass[spanish]{article} % <====================================

            usepackage[utf8]{inputenc}
            usepackage[spanish]{babel}

            usepackage{chemmacros}
            chemsetup{modules={scheme}}
            %chemsetup{language={spanish}}
            DeclareChemTranslation{scheme}{spanish}{esquema} % <===================
            DeclareChemTranslation{Scheme}{spanish}{Esquema} % <===================
            %DeclareChemTranslations{scheme}{spanish=esquema} % <==================
            %DeclareChemTranslations{Scheme}{spanish=Esquema} % <==================


            begin{document}

            begin{scheme}
            caption{Lorem ipsum}
            end{scheme}

            end{document}


            and its result (compiled with MIKTeX version pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7050 64-bit)):



            resulting pdf



            As you can see the language for scheme has not changed!



            Now adding



            renewcommand{schemename}{Esquema}


            after begin{document} gives you the following result:



            resulting pdf



            while adding the same line before begin{documents} results in an error because command schemename is only known after document has started ...



            I did not investigated now the code (I did not learn using l3kernel until now) what is the reason that the new defined translation for scheme in spanish is not printed in the document.



            I suggest you make a bug report for the maintainer of that package to get the manual corrected and to get an working translation ...







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 7 hours ago









            KurtKurt

            43.9k1050170




            43.9k1050170























                2














                As @Kurt already mentioned, the manual is wrong and the language should come second. Moreover, the list of translation keys in the manual is also a bit confusing. The list mentions both scheme and scheme-name, but only scheme-name works. This can be traced in the source code of the scheme module around line 250, where schema-name is used for the predefined translation to German - but again somewhat confusingly in a ChemCompatibilityTo{5.6} block, so it might be an old version of the syntax - but at least it works.



                An issue on the Github page certainly looks like a good idea, to update the manual and/or the code to make the behavior more intuitive.



                MWE:



                documentclass{article}
                usepackage[utf8]{inputenc}
                usepackage[spanish]{babel}

                usepackage{chemmacros}
                chemsetup{modules={scheme}}
                DeclareChemTranslation{scheme-name}{spanish}{Esquema}

                begin{document}

                begin{scheme}
                caption{Lorem ipsum}
                end{scheme}

                end{document}


                Result:



                enter image description here






                share|improve this answer




























                  2














                  As @Kurt already mentioned, the manual is wrong and the language should come second. Moreover, the list of translation keys in the manual is also a bit confusing. The list mentions both scheme and scheme-name, but only scheme-name works. This can be traced in the source code of the scheme module around line 250, where schema-name is used for the predefined translation to German - but again somewhat confusingly in a ChemCompatibilityTo{5.6} block, so it might be an old version of the syntax - but at least it works.



                  An issue on the Github page certainly looks like a good idea, to update the manual and/or the code to make the behavior more intuitive.



                  MWE:



                  documentclass{article}
                  usepackage[utf8]{inputenc}
                  usepackage[spanish]{babel}

                  usepackage{chemmacros}
                  chemsetup{modules={scheme}}
                  DeclareChemTranslation{scheme-name}{spanish}{Esquema}

                  begin{document}

                  begin{scheme}
                  caption{Lorem ipsum}
                  end{scheme}

                  end{document}


                  Result:



                  enter image description here






                  share|improve this answer


























                    2












                    2








                    2







                    As @Kurt already mentioned, the manual is wrong and the language should come second. Moreover, the list of translation keys in the manual is also a bit confusing. The list mentions both scheme and scheme-name, but only scheme-name works. This can be traced in the source code of the scheme module around line 250, where schema-name is used for the predefined translation to German - but again somewhat confusingly in a ChemCompatibilityTo{5.6} block, so it might be an old version of the syntax - but at least it works.



                    An issue on the Github page certainly looks like a good idea, to update the manual and/or the code to make the behavior more intuitive.



                    MWE:



                    documentclass{article}
                    usepackage[utf8]{inputenc}
                    usepackage[spanish]{babel}

                    usepackage{chemmacros}
                    chemsetup{modules={scheme}}
                    DeclareChemTranslation{scheme-name}{spanish}{Esquema}

                    begin{document}

                    begin{scheme}
                    caption{Lorem ipsum}
                    end{scheme}

                    end{document}


                    Result:



                    enter image description here






                    share|improve this answer













                    As @Kurt already mentioned, the manual is wrong and the language should come second. Moreover, the list of translation keys in the manual is also a bit confusing. The list mentions both scheme and scheme-name, but only scheme-name works. This can be traced in the source code of the scheme module around line 250, where schema-name is used for the predefined translation to German - but again somewhat confusingly in a ChemCompatibilityTo{5.6} block, so it might be an old version of the syntax - but at least it works.



                    An issue on the Github page certainly looks like a good idea, to update the manual and/or the code to make the behavior more intuitive.



                    MWE:



                    documentclass{article}
                    usepackage[utf8]{inputenc}
                    usepackage[spanish]{babel}

                    usepackage{chemmacros}
                    chemsetup{modules={scheme}}
                    DeclareChemTranslation{scheme-name}{spanish}{Esquema}

                    begin{document}

                    begin{scheme}
                    caption{Lorem ipsum}
                    end{scheme}

                    end{document}


                    Result:



                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 7 hours ago









                    MarijnMarijn

                    9,514639




                    9,514639























                        1














                        A way to change it is simply putting renewcommand{schemename}{Esquema} after begin{document}, but I don't know why I can't change the translation.



                        documentclass{article}
                        usepackage[utf8]{inputenc}
                        usepackage[spanish]{babel}

                        usepackage{chemmacros}
                        chemsetup{modules={scheme}}

                        begin{document}
                        renewcommand{schemename}{Esquema}

                        begin{scheme}
                        caption{Lorem ipsum}
                        end{scheme}

                        end{document}





                        share|improve this answer




























                          1














                          A way to change it is simply putting renewcommand{schemename}{Esquema} after begin{document}, but I don't know why I can't change the translation.



                          documentclass{article}
                          usepackage[utf8]{inputenc}
                          usepackage[spanish]{babel}

                          usepackage{chemmacros}
                          chemsetup{modules={scheme}}

                          begin{document}
                          renewcommand{schemename}{Esquema}

                          begin{scheme}
                          caption{Lorem ipsum}
                          end{scheme}

                          end{document}





                          share|improve this answer


























                            1












                            1








                            1







                            A way to change it is simply putting renewcommand{schemename}{Esquema} after begin{document}, but I don't know why I can't change the translation.



                            documentclass{article}
                            usepackage[utf8]{inputenc}
                            usepackage[spanish]{babel}

                            usepackage{chemmacros}
                            chemsetup{modules={scheme}}

                            begin{document}
                            renewcommand{schemename}{Esquema}

                            begin{scheme}
                            caption{Lorem ipsum}
                            end{scheme}

                            end{document}





                            share|improve this answer













                            A way to change it is simply putting renewcommand{schemename}{Esquema} after begin{document}, but I don't know why I can't change the translation.



                            documentclass{article}
                            usepackage[utf8]{inputenc}
                            usepackage[spanish]{babel}

                            usepackage{chemmacros}
                            chemsetup{modules={scheme}}

                            begin{document}
                            renewcommand{schemename}{Esquema}

                            begin{scheme}
                            caption{Lorem ipsum}
                            end{scheme}

                            end{document}






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 9 hours ago









                            Daniel ÁlvarezDaniel Álvarez

                            625




                            625






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f494010%2fchemmacros-scheme-translation%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                                Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                                Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...