MeasureTool-GoogleMaps-V3 icon indicating copy to clipboard operation
MeasureTool-GoogleMaps-V3 copied to clipboard

feature: add i18n support on distance and length text with "pt" language

Open victorvuelma opened this issue 3 years ago • 6 comments

Add i18n support on distance and length text, with pt language

victorvuelma avatar Mar 19 '21 13:03 victorvuelma

Is there a way to remove the texts from this message altogether? Like instead of Total distance: ${lenght}; Total area: ${area}. Just use ${lenght}; ${area}

It gets extra space on the map and it becomes redundant after the first time you read it

thexs-dev avatar Mar 19 '21 14:03 thexs-dev

Is there a way to remove the texts from this message altogether? Like instead of Total distance: ${lenght}; Total area: ${area}. Just use ${lenght}; ${area}

It gets extra space on the map and it becomes redundant after the first time you read it

Can be added a flag to use "short description" of area and length.

victorvuelma avatar Mar 20 '21 01:03 victorvuelma

@zhenyanghua

Can you check this?

victorvuelma avatar Apr 08 '21 13:04 victorvuelma

@zhenyanghua

Hello Zhenyang, i have added fallback to english if specified property was not found on current language, sounds good?

victorvuelma avatar May 04 '21 14:05 victorvuelma

Hi in your i18n.js there is the list of languages: when I choose 'it', it works, but when I opt for the 'uk' language, it doesn't work (the default 'en' language). When type in console measureTool._options.language - return 'uk' value .... help please P.S. Thanks for your work!

TaxiPilot avatar Apr 04 '22 13:04 TaxiPilot

@zhenyanghua

Hello! Could you validate the changes you made to make this update available?

victorvuelma avatar Aug 31 '23 13:08 victorvuelma