getdokan / dokan-wpml

WPML compatibility with dokan plugin
5 stars 11 forks source link

DOKAN SELLER ADDRESS FIELDS - CITY SHOULD BE A DEFAULT FIELDS LIKE THE COUNTRY so we can translate address in front end #71

Open Sophie-2e opened 7 months ago

Sophie-2e commented 7 months ago

Hello Team Dokan,

If the Country field works well in the Seller Address, it does not for the City which is manually added via text by the sellers, while he needs to select a country field (that indeed can be translated in WPML strings).

You can see the seller address on his store and in the store lists and in the My Account > Followers:

You can see in the image below tha sellers added the city in english 'Brussels', while in french it should be 'Bruxelles' and Dutch 'Brussel':

Screenshot 2024-04-10 at 14 56 15 Screenshot 2024-04-10 at 14 55 59 Screenshot 2024-04-10 at 14 55 43

This result in the address being half translated in front end where only the country will be in the right language but the city will be written as the seller has added it in the Seller Registration form or in Vendor Dashboard > Settings > Store > Address or in the Vendor Wizard or in the Verification Module (Vendor Dashboard > Settings > Verification).

This feature will also reduce the errors in address registration for both customers, sellers, and order delivery.