Hi,

Hmm... it's difficult question. At this moment, there are no support
from Sphinx.
So you need to switch messages inside conf.py by yourself:

```
if language == 'ja':
    copyright = ...
elif language == 'de':
    copyright = ...
else:
    copyright = ...
```

Thanks,
Takeshi KOMIYA

2020年2月22日(土) 3:06 RJ Skerry-Ryan <[email protected]>:
>
> There are various user-visible strings in conf.py that I'm not sure how to 
> translate, for example copyright, html_title, etc.
>
> https://github.com/mixxxdj/manual/blob/1dcda2ff0f8dabf252eff5fecfb936a67f1d4380/source/conf.py#L54
>
> Is there a way to translate these? I've tried:
>
> from sphinx import locale
> copyright = _("...")
>
> But they do not show up in source/locale/*.pot after running make gettext.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/dcf7448a-7b4b-44a7-903b-6c726e404431%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFmkQAMHS%2BwUoLiePydvVxAx%2Bqdq1fd4maOP_DUyLQ5QHUYmGQ%40mail.gmail.com.

Reply via email to