Hi, gilberto's advice looks perfect to me. (Thanks gilberto!)
BTW, I guess you are rewriting *.rst files to localize them. I propose sphinx i18n feature to translate sphinx docs. Please refer: * http://www.sphinx-doc.org/en/stable/intl.html * http://www.slideshare.net/shimizukawa/easy-contributable-internationalization-process-with-sphinx-pyconmy2015 * https://github.com/sphinx-doc/sphinx-doc-translations Regards, -- Takayuki Shimizukawa On Wed, Jan 27, 2016 at 1:46 PM gilberto dos santos alves <[email protected]> wrote: > Hi. please see [1] > inside conf.py and look for utf-8 first line > > # -*- coding: utf-8 -*- > > > and source_encoding declare as utf8 and when save with your editor, file > must be utf8. > > your browser too must point to your locale. > > > > [1] http://www.sphinx-doc.org/en/stable/config.html > > 2016-01-26 22:41 GMT-02:00 D. Papachristoudis <[email protected]>: > >> Hello everyone, >> >> >> I've been working on a translation project for the Sage community and >> I've been trying to translate the official documentation to (modern) Greek. >> However, the page generated by Sphinx through "make html" displays all >> greek characters as '?'s. Is this attributed to Sphinx's lack of support >> for greek (see >> http://www.sphinx-doc.org/en/stable/config.html#confval-language) or is >> there a workaround for this? And if not, would it be possible to add greek >> as a supported language? >> >> For your convenience, here is the code in my sample .rst file: >> ============== >> Μια Περιήγηση στο Sage >> ============== >> >> This is a tour of Sage that closely follows the tour of Mathematica >> that is at the beginning of the Mathematica Book. >> >> Many thanks, >> Dimitris >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sphinx-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/sphinx-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > gilberto dos santos alves > +55(11)9-8646-5049 > sao paulo - sp - brasil > > > > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
