Help:Adding New Translation Languages
From Textpattern CMS User Documentation
When community members want to start translating TextBook articles in a language option not yet supported in the database, this is how to add the language to the database table using phpMyAdmin.
- Log in to the phpMyAdmin location.
- Open the interwiki table.
- Insert a new record, which will have the fields shown in the following table...
| Field | Type | Function | Null | Value |
|---|---|---|---|---|
| iw_prefix | char(32) | fr | ||
| iw_url | char(127) | http://textbook.textpattern.net/wiki/index.php?title=$1 | ||
| iw_local | tinyint(1) | 0 | ||
| iw_trans | tinyint(1) | 0 |
By contrast, the prefix column must have the code, which establishes the mirror when the proper language tag is added to the bottom of a page, as described in help:Translating Wiki Content.




