Skip to content
Snippets Groups Projects
Commit 2d16a832 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

disable debug language in our dev env for now. it was never working right,...

disable debug language in our dev env for now.  it was never working right, and was relying on obsolete .json files.  Now that those are gone (see PR #1918), we can see that things were broken.  See issue #1970 to track the fix
parent 3d9f7b86
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,8 @@
// are inverted and reversed), and en-US.
// This set can be overridden by adding more to config.json on the VM.
"supported_languages": [
"en-US", "it-CH", "db-LB"
"en-US"
],
"debug_lang": "it-CH",
"locale_directory": "/home/app/code/locale",
"var_path": "/home/app/var",
......
......@@ -8,22 +8,22 @@ else
echo ">> no keypair needed. you gots one"
fi
echo ">> updating strings"
svn co -q http://svn.mozilla.org/projects/l10n-misc/trunk/browserid/locale
cd locale
svn up
cd ..
./scripts/extract_po.sh locale/
# yuck! our debug language breaks if this is not present
for file in locale/templates/LC_MESSAGES/*.pot ; do
mv $file $file.old
sed 's/CHARSET/UTF-8/g' $file.old > $file
rm -f $file.old
done
./scripts/merge_po.sh locale/
./locale/compile-mo.sh locale/
./locale/compile-json.sh locale/ resources/static/i18n/
#echo ">> updating strings"
#svn co -q http://svn.mozilla.org/projects/l10n-misc/trunk/browserid/locale
#cd locale
#svn up
#cd ..
#./scripts/extract_po.sh locale/
## yuck! our debug language breaks if this is not present
#for file in locale/templates/LC_MESSAGES/*.pot ; do
# mv $file $file.old
# sed 's/CHARSET/UTF-8/g' $file.old > $file
# rm -f $file.old
#done
#
#./scripts/merge_po.sh locale/
#./locale/compile-mo.sh locale/
#./locale/compile-json.sh locale/ resources/static/i18n/
echo ">> generating production resources"
scripts/compress
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment