Title: Update Language Icons
Last modified: March 31, 2021

---

# Update Language Icons

 *  Resolved [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/)
 * Hi,
 * after adding another language with polylang I’m not able to add the new language
   as column.
 * The first three languages, created before the plugin was installed the first 
   time are available – newly added languages not.
 * I even uninstalled the plugin, reset all columns, but nothing helps. Without 
   the plugin, the columns are all there.
 * Any tips?
    -  This topic was modified 5 years, 1 month ago by [polarracing](https://wordpress.org/support/users/polarracing/).

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

 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14259693)
 * Issue solved by manually deleting the CPAC_ keys in the db.
 * Seems the plugin does not re-read the actual languages installed, when it finds
   the keys in the db – even when re-installed.
 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14259804)
 * That did not do the trick to the end. I got my languages back, but was not able
   to save changes anymore.
 * Update
 * After restoring previous (not working) version and deleting only the key values
   while leaving the table untouched – it worked.
 * It seems to be really hard to uninstall this plugin so that there leaves no leftovers.
    -  This reply was modified 5 years, 1 month ago by [polarracing](https://wordpress.org/support/users/polarracing/).
 *  Plugin Author [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14260185)
 * A key feature of our plugin is that it persists the columns that are on the overview
   page. This means that columns that are dynamically placed are not supported since
   they cannot be stored.
 * Disabling our plugin though should leave indeed some records in the database,
   but it should not affect your columns though. If our plugin is deactivated, you
   should have all the default columns back.
 * One workaround to keep using the Polylang columns and be able to use our custom
   columns is to create a new columns set (pro version only).
 * You can read this topic on our website for more information regarding this issue.
   
   [https://www.admincolumns.com/forums/topic/polylang-integration/](https://www.admincolumns.com/forums/topic/polylang-integration/)
 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14260675)
 * Yes, I have the columns back. And I was able to get my polylang columns working
   as well.
 * The point I was making is, that those columns are recognized by the plugin on
   a first install. If you later add languages these columns they are not recognized–
   whats OK.
 * But that the plugin does not perform a full install when deleted and newly installed
   is bad. Some record it leaves in the db seems to tell the plugin not to re-build
   the default columns.
 * Also when I deleted all CPAC_ keys in the db and deleted the table those where
   not recreated when reinstalling the plugin.
 * SO I had to leave the table in the db and delete the keys – and voila now everything
   is fine and working properly. Default columns was rebuild with all languages 
   and – as I was not deleting the table – all my settings was still there.
 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14260708)
 * Here are the steps:
 * 1. Installed Polylang with three languages.
    2. Installed Admin Columns and set
   up some views 3. Added two more languages with Polylang.
 * Test1:
 * 4. Deleted the plugin and re-installed – only the previous languages (from step
   one) where available:
 * Test2:
 * 4. Deleted the keys and the table from the DB – got all language columns, but
   was not able to save any changes done in Admin Columns.
 * Test3 – Successfull:
 * 4. Deleted the keys – left the table untouched.
    5. reinstalled the plugin
 * Now everything was fine
    -  This reply was modified 5 years, 1 month ago by [polarracing](https://wordpress.org/support/users/polarracing/).
 *  Plugin Author [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14267957)
 * There should be an option ‘restore columns’ on the right of the column set that
   removes the key for your columns. So there should be no need to do anything in
   the database. It’s also good to know that on every visit of the table page, our
   plugin tries to figure out which columns there are by default (without the interference
   of our plugin). Changing the language that would normally change the columns 
   that are visible on the table, would mean there is a change in the available 
   default columns.
 * I believe that leaving the settings in the database, even though you deactivate
   the plugin is useful in many cases. In my experience, plugins are often toggled
   on and off, so removing everything on deactivate/active might be very annoying
   for most admins.
 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14271753)
 * Hi Stefan,
    leaving settings in the db could indeed be useful.
 * But, your settings are stored in the admin-column table – this one I left untouched
   and so I got my settings back.
 * My problem was, that the default column key – the ones you store in the option-
   table of the WP-DB is not deleted when the plugin is “DELETED” (not deactivated).
 * Also the values of those keys was not actualized when I reinstalled the plugin.
   
   And I tried a lot – I restored settings – I reloaded the table page many times.
 * Only deleting those keys made the plugin to re-read the polylang settings during
   re-install, get the right columns and – as I left this plugins table untouched,
   even my changes was still there.
    -  This reply was modified 5 years, 1 month ago by [polarracing](https://wordpress.org/support/users/polarracing/).
    -  This reply was modified 5 years, 1 month ago by [polarracing](https://wordpress.org/support/users/polarracing/).
 *  Plugin Author [Stefan van den Dungen Gronovius](https://wordpress.org/support/users/dungengronovius/)
 * (@dungengronovius)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14281949)
 * Still strange, the ‘cpac’ option in the Options table should be updated every
   time you visit the page, so there must be something wrong there.
 * There is no way, we can clean the database though on plugin delete, since our
   plugin can’t do anything when it is not activated 🙂
 *  Thread Starter [polarracing](https://wordpress.org/support/users/polarracing/)
 * (@polarracing)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14289472)
 * I only can say, that I needed to add another language and the behaviour was the
   same.
 * I needed to perform the same steps to add the language icon.

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

The topic ‘Update Language Icons’ is closed to new replies.

 * ![](https://ps.w.org/codepress-admin-columns/assets/icon.svg?rev=1521754)
 * [Admin Columns](https://wordpress.org/plugins/codepress-admin-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codepress-admin-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codepress-admin-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/codepress-admin-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codepress-admin-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codepress-admin-columns/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [polarracing](https://wordpress.org/support/users/polarracing/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/update-language-icons/#post-14289472)
 * Status: resolved