GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phpmyadmin/localized_docs: Localized documentation

BranchesTags
Open more actions menu

Latest commit

 

History

16,334 Commits
16,334 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
locale
locale
 
 
phpmyadmin @ 8fc438e
phpmyadmin @ 8fc438e
 
 
po
po
 
 
translated
translated
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.weblate
.weblate
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
config.sample.inc.php
config.sample.inc.php
 
 
examples
examples
 
 
locales-contributors
locales-contributors
 
 
locales-stats
locales-stats
 
 

Repository files navigation

phpMyAdmin - localized documentation

This repository contains localized documentation for phpMyAdmin. It is based on master document placed in phpmyadmin repository.

To translate edit your language file in po directory, changes will be propagated to generated documents. You can also translate online at <https://hosted.weblate.org/projects/phpmyadmin/documentation/> and your changes will be merged to Git.

Translation status Build documentation Documentation Status

Requirements

For manipulating with translations, you need gettext and sphinx installed.

Usage

To start new translation,

  • Add it to the LANGUAGES section of the Makefile.
  • Copy one of the language folders in ./docs/ to a new folder (named with the proper language code). This will maintain many symlinked files in that folder and one regular file config.py.
  • Edit config.py to change the language = section with the correct language name.
  • In the ./po/ folder, copy documentation.pot to create a new .po file. You may have to also create a .mo file, but I think that happens automatically on the build server.
  • Copy one of the folders in ./translated/ to a new folder. This again creates many symlinks.

To regenerate mofiles run:

make

To obtain statistics about current translations run:

./locales-stats

To update documentation run:

# Force Weblate to commit changes, requires wlc to be installed
wlc commit
# Pull changes from Weblate
git pull
# Update phpMyAdmin submodule
git submodule update --remote
# Update po files to match current docs
make

This automatically updates po files, generates mo files and synchronizes sources of the documentation. Review changes and commit them using:

git commit -a -m 'Update documentation to match master'

To build documentation in given language (for example Czech):

make html-cs

You can also invoke sphinx-build manually:

sphinx-build docs/cs/ output/cs/

You can also build all documentation at once:

make html

You can also browse translated documentation online at <https://docs.phpmyadmin.net/>.

About

Localized documentation

hosted.weblate.org/projects/phpmyadmin/documentation/

Topics

localizationtranslationsweblate

Resources

Readme

Security policy

Security policy
Activity
Custom properties

Stars

74 stars

Watchers

13 watching

Forks

51 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.