Computer/Internet

구글번역을 이용한 사이트 번역기

TIGER™ 2009. 2. 7. 23:06




미루고 미루고 미루다 오늘에서야 코드를 넣었다. 

아래는 간단한 html 명령어 정도만 알아도 넣을수 있을꺼라 생각하고...



      부분은 html명령어라서 우선 다른것으로 했기때문에 < >와 [ ]로 바꿔서 사용해야 됨

[#_article_rep_link_##] 는 tistory html 에서 사이트명 다음에 자동으로 글번호를 출력하여 해당글을 번역함
제로보드 XE의 경우 {$oDocument->getPermanentUrl()}만 넣어주면 사이트명과 해당글번호가 자동입력됨

사이트명에는 자신의 블로그명을 넣으면 됨
ex> blog.sjstory.com


a href="http://translate.google.com/translate?prev=hp&hl=ko&u=사이트명[#_article_rep_link_##&sl=auto&tl=ko"img 
src='http://cfs15.tistory.com/image/21/tistory/2009/02/07/21/31/498d7f067b5bc' border="0" alt="Translate to Korean (by Google)" hspace="3">/a>

a href="http://translate.google.com/translate?prev=hp&hl=ko&u=사이트명[##_article_rep_link_##&sl=auto&tl=en"><img 
src='http://cfs15.tistory.com/image/33/tistory/2009/02/07/21/31/498d7f066a770' border="0" alt="Translate to English (by Google)" hspace="3"></a

a href="http://translate.google.com/translate?prev=hp&hl=ko&u=사이트명[##_article_rep_link_##&sl=auto&tl=ja"><img 
src='http://cfs15.tistory.com/image/31/tistory/2009/02/07/21/31/498d7f0675241' border="0" alt="Translate to Japanese (by Google)" hspace="3"></a

a href="http://translate.google.com/translate?hl=ko&sl=auto&tl=zh-CN&u=사이트명[##_article_rep_link_##&prev=_t"><img 
src='http://cfs15.tistory.com/image/31/tistory/2009/02/07/21/31/498d7f06613ff' border="0" alt="Translate to Chinese (by Google)" hspace="3"></a