aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-22 12:47:00 -0500
committerGitHub <noreply@github.com>2017-06-22 12:47:00 -0500
commitd611d9c126e677b29466f537a4166cfd0ea5de2a (patch)
treea74f99aaa4300179b094064cd1da232ff98e6cde /settings/templates/personal.php
parent65b4e2a1db8642086d5415df6219b7c33d9399f1 (diff)
parent07a0f95ebf676b31514a5cbb55025dc121a985a6 (diff)
downloadnextcloud-server-d611d9c126e677b29466f537a4166cfd0ea5de2a.tar.gz
nextcloud-server-d611d9c126e677b29466f537a4166cfd0ea5de2a.zip
Merge pull request #5498 from nextcloud/allow-to-force-a-language
Allow to force a language and set it via the ocs api
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index dbc5b5611d5..7a7d87e930d 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -292,6 +292,7 @@ if($_['passwordChangeSupported']) {
}
?>
+<?php if (isset($_['activelanguage'])) { ?>
<form id="language" class="section">
<h2>
<label for="languageinput"><?php p($l->t('Language'));?></label>
@@ -317,6 +318,7 @@ if($_['passwordChangeSupported']) {
<em><?php p($l->t('Help translate'));?></em>
</a>
</form>
+<?php } ?>
<div id="clientsbox" class="section clientsbox">