Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation doesn't work after extension installation #7

Open
czytom opened this issue Feb 9, 2011 · 0 comments
Open

translation doesn't work after extension installation #7

czytom opened this issue Feb 9, 2011 · 0 comments

Comments

@czytom
Copy link

czytom commented Feb 9, 2011

I can't display any translated article/page. I see strange sql queries like this:

   SELECT `pages`.* FROM `pages` INNER JOIN page_translations on page_translations.page_id = pages.id WHERE ((virtual = 0) and (status_id = 100)) AND ((page_translations.locale = '--- :en\n') AND (`pages`.parent_id = 4)) ORDER BY published_at DESC, pages.virtual DESC LIMIT 1

After some investigation I managed to work around this issue by editing file lib/globalize2/page_extensions.rb and adding .to_s in two places where find queries are created

I've also have problems with conversion symbol to string, but it's already posted as an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant