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

Translate page's title #37

Closed
BMCouto opened this issue Nov 24, 2014 · 10 comments
Closed

Translate page's title #37

BMCouto opened this issue Nov 24, 2014 · 10 comments

Comments

@BMCouto
Copy link
Contributor

BMCouto commented Nov 24, 2014

It's very important to translate page title, makes no sense to change the language and keep page title in another language.

@emero
Copy link

emero commented Dec 2, 2014

+1

@daftspunk
Copy link
Member

Tried this?

{{ this.page.title|_ }}

@emero
Copy link

emero commented Dec 2, 2014

Thanks! Thanks worked like a charm!

@daftspunk
Copy link
Member

No worries

@BMCouto
Copy link
Contributor Author

BMCouto commented Dec 3, 2014

Sorry but I don't understand this solution... Pages don't have the title tag, titles are set on the "Title" input of October CMS which is not translatable, so what's the solution here?

@emero
Copy link

emero commented Dec 3, 2014

Where do you want to use page's title?
In my case it was the <title> tag in head and <h1> on each page.
Solution proposed by @daftspunk did the trick.

@BMCouto
Copy link
Contributor Author

BMCouto commented Dec 3, 2014

But do you have title's tag on each page?
Normal behavior, is to have it on the layout and page only has the body content, that's why I dont understand this solution...

@BMCouto
Copy link
Contributor Author

BMCouto commented Dec 3, 2014

got it!! (my brain freezes till 11AM...) @daftspunk suggestion is meant to be on the layout itself. I just had to visit each page before doing "Scan for messages". Thanks!

@mustafa-at-work
Copy link

mustafa-at-work commented Sep 17, 2016

Worked!!! Thanks. 🎉🎉🎉

@bbrandtlv
Copy link

I agree with @BMCouto
this is not a solution, this is a fix.
I want to insert title and get option to translate it like any other place.
Why there it's working, and in the title not?

I dont insert title, but the plugin does, so How can this fix help me?

Please add this to the core.
Tons of thanks.

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

5 participants