File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ codeigniter/
3535$ composer create-project kenjis/codeigniter-composer-installer codeigniter
3636```
3737
38+ If you want to install translations for system messages (requires shell).
39+
40+ ```
41+ $ bin/install-translations.sh
42+ ```
43+
3844### Run PHP built-in server
3945
4046```
Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ version="$1"
1313
1414curl -L -o translations.zip " https://github.com/bcit-ci/codeigniter3-translations/archive/$version .zip"
1515unzip translations.zip
16- cp -rf " codeigniter3-translations-$version /language/" ../application/language/
16+
17+ OS=` uname`
18+ if [ " $OS " = " Darwin" ]; then
19+ cp -rf " codeigniter3-translations-$version /language/" ../application/language/
20+ else
21+ cp -rf " codeigniter3-translations-$version /language/" -T ../application/language/
22+ fi
1723
1824rm translations.zip
1925rm -rf " codeigniter3-translations-$version "
You can’t perform that action at this time.
0 commit comments