-
-
Notifications
You must be signed in to change notification settings - Fork 165
Translations
Robert Isoski edited this page Feb 16, 2022
·
2 revisions
WonderCMS uses plugins for translating the Settings panel.
- Fork the following repository (which is the latest with all included translations): https://github.com/robiso/translation-slovenian/
- Rename repository to
translation-yourlanguage
. (If you need help with renaming a repository: https://help.github.com/en/github/administering-a-repository/renaming-a-repository) - Rename translation-slovenian.php to "translation-yourlanguage.php" (replace
yourlanguage
with your actual language). - Make sure the repository name matches/is the same as the PHP file mentioned in point 3.
- Edit the SVG file (picture) directly on GitHub (or choose any other editor): https://github.com/robiso/translation-slovenian/edit/master/language-solid.svg
- on line 78, change
Slovenian
to your language.
- Rename
sl.csv
to your country locale (list of country locales https://www.science.co.il/language/Locale-codes.php) and save. - Open
translation-yourlanguage.php
and change the name of the CSV file to be the same as point 6 above: '$translations = array_map('str_getcsv', file(DIR . '/sl.csv')); // changesl.csv
CSV name accordingly to your country locale' - Translate the .csv file.
- Create wcms-modules.json file: https://github.com/robiso/wondercms/wiki/Custom-modules
- Create a pull request to https://github.com/robiso/wondercms-cdn-files to the plugins-list file with your repository URL.
Still need help?
- Ask a question or make a request in the community.
- Official website
Intro
- Home
- Demo
- Download
- One step install
- Requirements
- 5 file structure
- List of hooks
- Included libraries
- Create theme in 8 easy steps
- Create a plugin
- Custom modules
- Translations
- All security features described
Basic how to's
- Backup all files
- Change default login URL
- Change default password
- Create custom page template
- Create new editable areas or editable blocks
- Edit 404 page
- Get data from database
- Set data to database
- Hide page from menu
- Caddy web server config
- IIS server config
- NGINX server config
- Login
- Recover login URL
- Reset password
- Restore backup
- Update
- PHP built in server
Themes
- Create theme in 8 easy steps
- Add favicon
- Theme tags
- Update theme to work with WonderCMS 2.0.0
- Update theme to work with WonderCMS 3.0.0
- Share your themes with Custom modules
Plugins
- Quick intro on creating plugins and List of hooks
- Share your plugin with simply with Custom modules
Security
- All security features described
- Add SRI tags to your theme libraries
- Always redirect to https and www
- Additional security configuration(s)
- Add SRI tags to your theme libraries
- Better security mode (HTTPS and other features)
Features description
- One click update
- Optional: functions.php file
- Default database.js
- Allowed extensions file types for uploads
- Login URL doesn't work - 404
- 500 internal server error
- Persistent "New WonderCMS update available" message
- URLs mailformed on Windows IIS
- Other errors