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

In Beta 1 tab titles don't get translated after dynamic language change #955

Closed
ch-weiss opened this issue Mar 28, 2014 · 5 comments
Closed

Comments

@ch-weiss
Copy link

Hi,

first of all I want to congratulate you to your first beta. It just awesome! Unfortunately I found that there seems to be an old problem there again. When I try to change the language via angular-translate then the tabs don't get updated. Carry On!

@ajoslin
Copy link
Contributor

ajoslin commented Apr 1, 2014

Hi @ch-weiss,

We can't be sure without more information - what code are you using, and how are you using it?

@ch-weiss
Copy link
Author

ch-weiss commented Apr 1, 2014

Hi Andy,

Thank you for asking. I am using angular-translate. The translation works fine. Just when I change the language dynamically everything gets refreshed and shows the contents in the new language apart from the tab titles.

We had a conversion about this issue before and there it was a bug that the tab bar did not get refreshed. You fixed in the release after and was fine until beta 1. Hope this helps for clarification.

Chris

@ajoslin ajoslin closed this as completed in 757f181 Apr 7, 2014
@ajoslin
Copy link
Contributor

ajoslin commented Apr 7, 2014

Fixed, thanks!

@psgganesh
Copy link

I use the same in below way

<ion-tab title="{{ 'coffee_title_label' | translate }}">

image

But when it is

<ion-tab translate="coffee_title_label" title="{{ 'coffee_title_label' | translate }}">

image

I referred the below codepen example
http://codepen.io/andrewmcgivery/pen/tqymb

Can you let me know, what am doing wrong here !

@azachar
Copy link

azachar commented Apr 13, 2016

I have similar issue on 1.2.4 ion-tab(title='{{"xxx"|translate}}') doesn't work. Could you please suggest what to do? Thanks

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants