The pgn4web package and the associated plugins/extensions use the English language for the user interface in few key locations. At the moment, pgn4web is not really designed to facilitate a translation in another language. On user request, here are few pointers to user interface text in the English language that you might want to translate in order to display the pgn4web chessboard in another language.
The translation requires modifications to the core file pgn4web.js
, see the following (non comprehensive) list of areas that currently show text in English:
myAlert()
function) are text configBoardShrortcut()
function) are text alert()
function), used mainly for debugging, use text pgn4web should accept and display special characters in the PGN data, such as symbols (such as ½ ¿ ß) and accented letters (such as â è õ ü), provided that the PGN file is saved in unicode UTF-8 format. See the PGN support page if your PGN files are encoded in a different format.
Please note that the board generator tool does not accept special characters outside the 255 characters ascii set. Rejected characters are replaced with stars *
This might affect some non English text and names. An undocumented/unsupported workaround, applicable in given circumstances, is discussed in the comments to issue 70.
Tickets: #70
Wiki: BoardWidget_generator
Wiki: Index
Wiki: PGN_Support