This project is read-only.

Culture problem(Login status)

Nov 24, 2015 at 6:57 AM
Edited Nov 24, 2015 at 6:59 AM
I add two more languages, Korean and Vietnamese.
And I found a serious problem about culture.
I just changed culture. but it changed by "LogOut" as below.
Please help me how to fix it.

This is English version.

This is Korean version.

This is Vietnamese version.
Nov 24, 2015 at 7:13 AM
I found that as below.

if ($(".sfBtnlogin").html().toLowerCase() == 'login' || $(".sfBtnlogin").html().toLowerCase() == '로그인') {
    $(".sfBtnlogin").html('').html("<i class='i-login'>Login</i>");
else {
    $(".sfBtnlogin").html('').html("<i class='i-logout'>LogOut</i>");