NateWr / food-and-drink-menu

WordPress plugin to create a food and drink menu
33 stars 14 forks source link

Consider deleting price setting from wpml-config.xml #41

Closed NateWr closed 6 years ago

NateWr commented 7 years ago

Deleting a price setting will set it to not translate, but will allow users to change the setting to copy or translate if desired. Need to investigate how this will impact existing installations, and whether this is a common need.

Requested: https://wordpress.org/support/topic/wpml-config-xml/#post-9462448

NateWr commented 6 years ago

copy-once might be the best option: https://wpml.org/documentation/support/language-configuration-files/#custom-fields

NateWr commented 6 years ago

From a customer:

I don't think the copy-once option is the right setting either. It means that with every price update you will have to manually update the price in all translations, even when you want it to be the same as the original language. And if set, you can't change the configuration in WPML. I think the best is to not include the price field at all. Only when it is not set, every plugin user can decide for every website how they want to deal with that translation.