-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Finish the multilingual feature #2303
Conversation
I feel really pleasurable about this feature. If you don't mind I think taxonomy's should be multilingual too. When see the taxonomy the url is fixed to |
@the1900 I meant it when I said "no comments, please". I have a shitload of work to get the foundation up and running and I don't need "it would be nice if ...". On a side note, I totally agree about the taxonomies. |
2c29a90
to
f7ef3de
Compare
9a8bea2
to
cba764b
Compare
Updates #2309
So the Permalink gets correct when listing translations. I have also checked the other relevant places to make sure we do not overwrite node values we need later. Pointers can be tricky, but lesson learned is: A copy is cheap. Updates #2309
After a visual inspection to make (pretty) sure it is correct re multiple languages. Updates #2309
We should get rid of these globals, but that is another month.
This commit also refines the partial rebuild logic, to make sure we do not do more work than needed. Updates #2309
So we can do some benchmarking.
Updates #2309
I've built 0.17multilingual and after reading the docs tried to run:
but it reports about:
What do I miss? |
What's |
Would it be useful that I review some more ? Are we good to go with this or does someone else need to take a look ? I'll be happy to migrate my sites with any changes that were introduced here.. (since m17n) ! |
I think we are awaiting @spf to take a look at this and give the official go ahead |
@yitzhakbg please use the forum for questions and marketing. |
Pardon me. Thanks for the correction Yitzhak Bar Geva https://www.linkedin.com/in/yitzhakbg On 1 September 2016 at 00:56:27, Bjørn Erik Pedersen ( @yitzhakbg https://github.com/yitzhakbg please use the forum for — |
@spf13 has promised to take some time off his schedule to look at this PR. If he does not object to its content in the next few days, I will merge it. |
* Fall back to default language on missing translation file * Add a i18n-warnings build flag * If that flag is set, print a parseable and greppable string on missing translation strings See #2303
Merged! |
* Fall back to default language on missing translation file * Add a i18n-warnings build flag * If that flag is set, print a parseable and greppable string on missing translation strings See gohugoio#2303
If we have a global sitemap.xml, why don't we have a global robots.txt? |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is currently slightly slower than master in a bench mark with 4 fairly big sites:
I guess this is mostly about doing "more work". I have done some general tuning in another PR (see #2378) after some profile work.
Translations
andAllTranslations
to Node.TODO(bep) multilingo
andTODO(bep) ml
comments.absURL
etc.