This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studentersamfundet.no/README.md
T
2016-01-05 22:29:06 +01:00

660 B

Installation

cd wp
cp wp-config-sample.php wp-config.php
vim wp-config.php  # Update database settings
git submodule update --init

Translations

# Download wordpress i18n tools, see https://codex.wordpress.org/I18n_for_WordPress_Developers#Using_the_i18n_tools
# Create a symlink from wp-content to TOOLS_DIR/src
ln -s $REPO_ROOT/wp/ src
# Create .pot-file
php tools/i18n/makepot.php wp-theme src/wp-content/themes/differ2015/ src/wp-content/themes/differ2015/languages/differ2015.pot
# Open .pot-file with POEdit and start translating

See also

https://edb.neuf.no/wiki/Studentersamfundet.no-web#Quick_start