summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2016-08-08 00:12:06 +0200
committerBjørn Erik Pedersen <[email protected]>2016-09-06 18:32:18 +0300
commite56ecab1575f1b25552988b9efff2836f05f87f9 (patch)
tree630da0933c367ab1b334b232e48abecd6081e55f /source
parent0a7d1d0ddc213628fcde7c0e24991246836d9f16 (diff)
downloadhugo-e56ecab1575f1b25552988b9efff2836f05f87f9.tar.gz
hugo-e56ecab1575f1b25552988b9efff2836f05f87f9.zip
Multilingual TODO-fixes, take 1
See #2309
Diffstat (limited to 'source')
-rw-r--r--source/file.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/file.go b/source/file.go
index 4bee882a6..500da2548 100644
--- a/source/file.go
+++ b/source/file.go
@@ -129,10 +129,6 @@ func NewFile(relpath string) *File {
f.lang = strings.TrimPrefix(filepath.Ext(f.baseName), ".")
if f.lang == "" {
f.lang = viper.GetString("DefaultContentLanguage")
- if f.lang == "" {
- // TODO(bep) ml
- f.lang = "en"
- }
}
f.translationBaseName = helpers.Filename(f.baseName)