Comments (10)
@aralroca Great news! It works great now. Thanks! 👍
When I was testing it, I've just noticed that modifying files starting with underscore _(document|app).js does not trigger rebuild (in both cmd and bash so it seems to be non-related issue). Is this also happening to you?
Yes. It's a known problem commented on #56, the same thing is happening in /api
routes.
Nevertheless, I think that we can fix it now. I'm going to change the milestone of #56 to 0.15.0 in order to prioritize the issue! Thanks to report it!
from next-translate.
Hey @Matasek, yes, the CLI tool for static pages right now is only compatible in Unix. However, thank you to report it. A good consideration is to also support Windows for the CLI. Let's keep open the issue and I will take a look in a few days.
from next-translate.
Hello, I've tried it, it's not working properly yet. It now works in git bash (MinGW) 👍, however still does not work in Win cmd/powershell.
PS: I thank you!
from next-translate.
I created a PR to fix the last issue. #111
I tested it on windows. It is working correctly.
from next-translate.
@aralroca Great news! It works great now. Thanks! 👍
When I was testing it, I've just noticed that modifying files starting with underscore _(document|app).js does not trigger rebuild (in both cmd and bash so it seems to be non-related issue). Is this also happening to you?
from next-translate.
Hi @aralroca
Sorry I did not follow the PR I initiated. I was too busy at work and could not follow properly.
I installed and tested it and I just deployed the lastest version to prod.
@aralroca you are exceptional. The fact you took time to explain your change request says a lot about you. 💯
Thanks a lot !
from next-translate.
Unfurtunately it seems like this library is incompatible with Windows by default.
I've hotfixed those issues by replacing "/" with "\" inside builder.js, but another errors have emerged (like undefined "rm" command...).
I use WSL bash now, it's working just fine in there.
from next-translate.
Hey @mataslib , this fix will be released on 0.14.0
, however, you can try it now in 0.14.0-canary.1
, please, can you confirm that it is working on your computer?
https://github.com/vinissimus/next-translate/releases/tag/0.14.0-canary.1
Thank you a lot 👏
from next-translate.
Ok, in that case, I reopen the issue to fix this on 0.14.2 👍
from next-translate.
@mataslib @heatseeker76 we created a prerelease 0.14.2-canary.2 with this fix! Can you verify that it works? 👏
from next-translate.
Related Issues (20)
- TypeError: Cannot read properties of undefined (reading 'loadLocaleFrom') HOT 1
- Locale slug is added to api and other routes outside of app dir
- AppDirI18nProvider is not loaded after refresh, so lang is null HOT 2
- Change language without modifying the URL (/[lang]/rest) HOT 4
- add Dependabot HOT 1
- Next.js app build fails due to empty lang value HOT 3
- change "Twitter" shields badge to "𝕏 " in README.md
- 404 error pages with next 14 HOT 20
- Localizations not working in prod bundle on NextJs 14 HOT 1
- Buildng project using only app router HOT 9
- Translation not working on client component inside layout HOT 8
- Warning: Detected multiple renderers concurrently rendering the same context provider.
- 404 when accssing homepage HOT 7
- 404 on root when using baseURL in vercel HOT 1
- Can't resolve 'next-translate/appWithI18n' on 2.7.0-canary.1 HOT 6
- Cold Start on dynamic routes HOT 5
- Type safety for getT function
- Regular locale naming like "en" breaks the i18n config HOT 1
- Cannot read properties of undefined (reading 'localesToIgnore')
- Docs reference incorrect format/formatter options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-translate.