Title: Language &#8211; some changes
Last modified: August 20, 2016

---

# Language – some changes

 *  [KaiSchultka](https://wordpress.org/support/users/andrenalin/)
 * (@andrenalin)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/language-some-changes/)
 * Hi,
 * i needed some changes and i think if you want to change the language you can 
   better use this in
    clw-form.php
 * it is using the core language
 * and this plugin works great in my wp 3.5.1 // thanks!
 *     ```
       <?php
   
       add_action ('clw_form', 'clw_form');
       function clw_form ($form_id)
       {
   
       	if ( is_user_logged_in() ) { ?>
       		<? $current_user = wp_get_current_user(); ?>
       		<h3>Hi <? echo $current_user->display_name ?>!</h3>
       		<a href="<?php echo wp_logout_url($_SERVER['REQUEST_URI']); ?>"><?php _e( 'Logout' ); ?></a>
       	<?
       	} else { ?>
       		<!--<h3>Login</h3>-->
       		<form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
       		<div><?php _e('Username') ?> <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" /></div><br>
       		<div><?php _e('Password') ?> <input type="password" name="pwd" id="pwd" size="20" /></div><br>
       		<div>
                <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> <?php esc_attr_e('Remember Me'); ?></label>
       		       <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" /><br />
       <input type="submit" name="submit" value="GoOn" class="button" /></div><br>
       		    <!--<p>
       		       <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
       		       <input type="hidden" name="redirect_to" value="<?php //echo $_SERVER['REQUEST_URI']; ?>" />
       		    </p>-->
       		</form>
       		<a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword"><?php _e( 'Lost your password?' ); ?></a> <br />
       <a href="<?php echo get_option('home'); ?>/wp-login.php?action=register"><?php _e( 'Register' ); ?></a>
       <?
       	} 
   
       }
       ?>
       ```
   
 * [http://wordpress.org/extend/plugins/custom-wp-login-widget/](http://wordpress.org/extend/plugins/custom-wp-login-widget/)

Viewing 1 replies (of 1 total)

 *  [Cibulka](https://wordpress.org/support/users/cibulka/)
 * (@cibulka)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/language-some-changes/#post-3530207)
 * Very useful & works, thank you captain!

Viewing 1 replies (of 1 total)

The topic ‘Language – some changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-wp-login-widget.svg)
 * [Custom WP Login Widget](https://wordpress.org/plugins/custom-wp-login-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-wp-login-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-wp-login-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-wp-login-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-wp-login-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-wp-login-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Cibulka](https://wordpress.org/support/users/cibulka/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/language-some-changes/#post-3530207)
 * Status: not resolved