Search

Google Reader Gains Auto-Translation Abilities

0 views

We English speakers are truly lucky that so much of the world is willing to accommodate us, learning enough of the language to at least give directions to the nearest bathroom.  But there's an amazing amount of written content out there that isn't in any given person's native language, and to help with this issue, Google Reader has gained an auto-translate option.

In a post on the Google Logo' /><br /> <p>While a lot of people will be a little slow to embrace this feature, it should be of real value.  For instance, say you're a car nut.  American and British automotive journalists do fantastic jobs, but there are probably still better sources for information about some companies.  Now you can read the blog of a Japanese person who camps outside Toyota's headquarters every day, or an Italian guy who delivers pizza to Lamborghini's test facility.</p>
<p>One warning: the translations aren't perfect, so if you see something that looks odd (imagine a next-generation Scion tC with 10,062 horsepower), don't take it as a definite fact.</p>
<p>Otherwise, now's a good time to go see what the rest of the online world has to offer.</p>                </div>
                
                <script>
                (function() {
                    function initCopyableSections() {
                        document.querySelectorAll('.article-content .copyable-section').forEach(function(section) {
                            if (section.querySelector('.copyable-section__btn')) return;
                            var btn = document.createElement('button');
                            btn.type = 'button';
                            btn.className = 'copyable-section__btn';
                            btn.setAttribute('aria-label', 'Copy to clipboard');
                            var label = section.getAttribute('data-copy-label');
                            btn.textContent = label ? 'Copy ' + label : 'Copy';
                            section.appendChild(btn);
                            btn.addEventListener('click', function() {
                                var contentEl = section.querySelector('.copyable-section__content');
                                var text;
                                if (contentEl) {
                                    text = contentEl.textContent.trim();
                                } else {
                                    var clone = section.cloneNode(true);
                                    var btnClone = clone.querySelector('.copyable-section__btn');
                                    if (btnClone) btnClone.parentNode.removeChild(btnClone);
                                    text = clone.textContent.trim();
                                }
                                if (!text) return;
                                navigator.clipboard.writeText(text).then(function() {
                                    var t = btn.textContent;
                                    btn.textContent = 'Copied!';
                                    btn.classList.add('copied');
                                    setTimeout(function() {
                                        btn.textContent = t;
                                        btn.classList.remove('copied');
                                    }, 2000);
                                });
                            });
                        });
                    }
                    if (document.readyState === 'loading') {
                        document.addEventListener('DOMContentLoaded', initCopyableSections);
                    } else {
                        initCopyableSections();
                    }
                })();
                </script>
                
                <!-- Tags -->
                                
                <!-- Correction Form -->
                <div class=

Found an error or have a suggestion? Let us know and we'll review it.

Share this article

Comments (0)

Please sign in to leave a comment.

No comments yet. Be the first to comment!