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

Use tap:i18n in basic example #65

Closed
jirikrepl opened this issue Jul 14, 2015 · 5 comments
Closed

Use tap:i18n in basic example #65

jirikrepl opened this issue Jul 14, 2015 · 5 comments
Assignees
Milestone

Comments

@jirikrepl
Copy link

Hi, would it be possible to improve your examples\basic with integration of tap:i18n package. I wanted to have page content translated:

http://localhost:3000/en/one -> Page one
http://localhost:3000/it/one -> Prima pagina

I installed tap:i18n an added en.i18n.json and it.i18n.json, but it did not translate page for different url, but it should. I am new to Meteor and I don't know how to integrate these two packages. It would take you few minutes to improve your example. Thank you very much

@martinopic martinopic self-assigned this Jul 14, 2015
@martinopic martinopic modified the milestone: 1.0.4 Jul 14, 2015
@martinopic
Copy link

Examples need to be redone completely as weren't kept up to date with changes.

@jirikrepl
Copy link
Author

Thank you:)

@jirikrepl
Copy link
Author

It would be nice, if you add a language switcher in you example. I mean this package: tap:i18n-ui

Example with packages: iron-router-i18n, tap:i18n and tap:i18n-ui would be nice.
I mean to have two languages and two sample pages. And different URLs for each language. Something like switching languages on Wikipedia:)

@martinopic
Copy link

It was this way before it broke, just very rough design (if somebody is willing to give a hand on this I'd be glad :-) ). Language switcher were just links and a listener on these links.

@martinopic
Copy link

I've written two very simple but working examples one without tap-i18n (bare iron-route-i18n) and one with tap-i18n integration.

martinopic pushed a commit that referenced this issue Aug 9, 2015
…ectory to ignores (easier to test with different package versions)
@martinopic martinopic added this to the 1.1.1 milestone Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants