sphinx and languages other than English - internationalization

I found in
http://svn.python.org/projects/doctools/trunk/sphinx/locale
support for several languages that can be used in Sphinx but I did not find the instructions on how to install it: which files should be downloaded and installed in which directories?
Any hint would be appreciated.

I found out already. These files are already present in my installation. In order to use a foreign language it should be specified in file conf.py through the variable language.
-- Tsf

Related

Can libxslt-devel, po4a, asciidoc be installed on Redhat7,9 as SourceFile(tar)?

You must install in an environment where there is no network. Also, we would like to proceed with the installation on various OSes.
I want to make intall by downloading the source file and compiling it.
libxslt-devel, po4a, asciidoc three installations are required.
Do you know where I can get the source files or any helpful site with instructions on how to install them?
I'm still searching, but I can't find it, so I'm asking for help

Highlight custom language on MediaWiki page

My goal is add syntax highlighting for a custom language on my wiki page. In order to do that, I installed Pygments and added my own lexer file (mylexer.py). Since I don't want to pull request the lexer and wait for it to be merged, how do I edit the create_pygmentize_script (linked below) so it uses the locally installed Pygments to create the bundle?
script: https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/pygments/create_pygmentize_bundle
Pygments Installation Location on local machine: /usr/local/lib/python3.8/dist-packages/pygments
I have been stuck with it for a while now. Any help would be appreciated.

New Language Files

I am user of Joomla 2.5 cms and I try to built a double-language site.
Yesterday I installed this one module to my site
http://extensions.joomla.org/extensions/access-a-security/site-access/authentication-management/6660
but this don't support 2 languages, only one.
The help I need is some information on how I can add new files for this module with new labels of course at my excisting language packages.
if it doesn't support 2 languages, you have some problems
anyway you can ask your developer to help you.
or you can check the source and change the needed words to your desire language, then you can change the module name and install it separately
it is important to see if you have the right to change that extension.
and you can write your own of course :)

How to check reST wellformedness with Sphinx?

When uploading README in reStructuredText to PyPI they should be valid reST documents. We already have Sphinx as a requirement to build docs. Is it also possible to check one file with Sphinx?
It appears that distutils implements setup.py check -r command since Python 2.7 that does just that.
I am leaving the question open in case somebody discovers an easy way check arbitrary reST files with Sphinx without complicated configuration and setup. Perhaps Sphinx can provide more features like checking linked documents and external links.

Joomla v1.5 plugin sys.ini language file

Is it possible to use sys.ini language file for Joomla v1.5 plugin? I want to use it during plugin install. Because default language ini file is not accessible during installation process. So install manager outputs only language key constants like PLG_MY_PLUGIN_DESCRIPTION. I haven't found any hint about it in Joomla v1.5 developer manuals. So I guess sys.ini files work only with components?
Your help would be appreciated.
Joomla 1.5 does not read .sys.ini language files. Only Joomla 1.6 and above do.
If you turn on the debug tool (Site>>Global Congiguration>>System) then it will show you if the language file is being loaded.
A few other things to check:
The description in the XML matches the one in the language file.
Each line at the beginning of the language file for the description area starts with a hash tag # rather than ;
The XML points to the language file in the correct location.
If you have checked all of these then please post some code for the .XML and .INI files.
Regards

Resources