Title: error on localhost wordpress : trigger_error() in translation-install.php file (
Last modified: August 31, 2016

---

# error on localhost wordpress : trigger_error() in translation-install.php file (

 *  [antoinegourtay](https://wordpress.org/support/users/antoinegourtay/)
 * (@antoinegourtay)
 * [10 years ago](https://wordpress.org/support/topic/error-on-localhost-wordpress-trigger_error-in-translation-installphp-file/)
 * Hi everyone, i installed my wordpress on a localhost with WAMP. All is well installed,
   but i cannot import my XML file from my former wordpress due to this error (found
   in the php error log file)
 *     ```
       [18-May-2016 08:00:44 UTC] PHP Stack trace:
   
       [18-May-2016 08:00:44 UTC] PHP   1. {main}() C:\wamp64\www\wordpress\wp-admin\options-general.php:0
   
       [18-May-2016 08:00:44 UTC] PHP   2. wp_dropdown_languages() C:\wamp64\www\wordpress\wp-admin\options-general.php:345
   
       [18-May-2016 08:00:44 UTC] PHP   3. wp_get_available_translations() C:\wamp64\www\wordpress\wp-includes\l10n.php:986
   
       [18-May-2016 08:00:44 UTC] PHP   4. translations_api() C:\wamp64\www\wordpress\wp-admin\includes\translation-install.php:103
   
       [18-May-2016 08:00:44 UTC] PHP   5. trigger_error() C:\wamp64\www\wordpress\wp-admin\includes\translation-install.php:59
       ```
   
 * Thank you in advance

Viewing 1 replies (of 1 total)

 *  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * (@clarionwpdeveloper)
 * [10 years ago](https://wordpress.org/support/topic/error-on-localhost-wordpress-trigger_error-in-translation-installphp-file/#post-7391026)
 * Hi,
 * It seems that you previous WordPress installation had other language packs which
   are not available in your current WordPress installation which is causing the
   issue.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘error on localhost wordpress : trigger_error() in translation-install.
php file (’ is closed to new replies.

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [trigger](https://wordpress.org/support/topic-tag/trigger/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/error-on-localhost-wordpress-trigger_error-in-translation-installphp-file/#post-7391026)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
