Jump to content


Photo
- - - - -

For Those Who Want To Use Their Language In Google Maps Shortcode .


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 kakadong

kakadong

    Super Member

  • Members

  • 113 posts

Posted 01 November 2012 - 10:53 AM

Hi, don't know if I post it here is correct.
I need the googlemap shortcode to use . But it just shows the English Address.

I need it in Traditional Chinese.

So, if you want to use your Language rather English.

Use your code editor to edit the pagelines/includes/class.shortcodes.php

Find

Please Login or Register to see this Hidden Content


delete from

Please Login or Register to see this Hidden Content

to

Please Login or Register to see this Hidden Content

(Line 204 )


And Paste this in!

Please Login or Register to see this Hidden Content


Save it. Done.

Now you can add an attribute locale="your country" in your shortcode .
For example :

[googlemap width="100%" height="300" locale="zh_TW" address="台南市永康區小東路689號"]

You can find your country

Please Login or Register to see this Hidden Content

!

Remember, it is core file. So , before you edit, please backup.
And everytime you upgrade your PL , you have to do it again.

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 26 November 2012 - 06:17 PM

Thanks, next version has your patch!