Title: Editing l10n.php
Last modified: August 30, 2016

---

# Editing l10n.php

 *  Resolved [arvey18](https://wordpress.org/support/users/arvey18/)
 * (@arvey18)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/)
 * Hi!
 * I edit the file l10n.php on ../wp-includes/l10n.php. I want to ask if when the
   wordpress updating again, l10n.php will be affected?
 * thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415572)
 * Yes, it will be updated and you will lose all your customization.
 * Further, messing with the core file may cause issues with:
    – plugins – themes–
   security
 * In nutshell, its not a good idea.
 *  Thread Starter [arvey18](https://wordpress.org/support/users/arvey18/)
 * (@arvey18)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415573)
 * I only added a code, not really customizing the file. I am really having problem
   passing a value on $locale, that’s why i add the code on l10n.php file. Can you
   help me with this? 🙂
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415575)
 * Sorry. For the reasons I mentioned in my previous reply, I would not mess with
   the core files.
 *  Thread Starter [arvey18](https://wordpress.org/support/users/arvey18/)
 * (@arvey18)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415577)
 * NP, I think i found a solution anyway, putting my code on wp-config.php and passing
   a value on $locale there.
 * wp-config.php will not be updated right?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415578)
 * It should not be. However, if you haven’t already done, always backup everything(
   including your database) before doing any actions, just in case something really
   goes wrong.
 *  Thread Starter [arvey18](https://wordpress.org/support/users/arvey18/)
 * (@arvey18)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415580)
 * ok thanks!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415585)
 * You are welcome 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Editing l10n.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/editing-l10nphp/#post-6415585)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
