Comments (10)
I think is a great idea! π
from core.
Yeap it would be nice, but the forum works on a different way now. It is an REST API + Vuejs on the frontend. So we will need to find a way of loading all the translations when the app loads at first and then use them on the Vuejs templates. How does that sound?
from core.
Why not using https://kazupon.github.io/vue-i18n/ for the frontend? Or similar implementation.
from core.
I can make the integration if it's good for you! Vue-i18n or custom integration.
from core.
@Brouilles Hi, translations sounds great, but are you working/will be working on that or you have abandoned this idea?
from core.
Hi.
Sorry but I not working anymore on this. I have developping m'y own forums system with Livewire.
from core.
@Brouilles ok, thanks for answer ;)
from core.
@Brouilles can you help me a little bit?
I'm a pure backend developer and I found adding i18n for vue a little bit difficult for me. In examples I see code like that:
const messages = {
en: {
message: {
hello: 'hello world'
}
},
ja: {
message: {
hello: 'γγγ«γ‘γ―γδΈη'
}
}
}
// Create VueI18n instance with options
const i18n = new VueI18n({
locale: 'ja', // set locale
messages, // set locale messages
})
// Create a Vue instance with `i18n` option
new Vue({ i18n }).$mount('#app')
I understand that locale and message will be passed to the Vue from the php backend but I dont know where they should be passed, into which file, I don't know where vue is instantiated and don't know how to pass those variables to make them work both in my own components and also for this package (after replacing hardcoded values inside this package).
Can you explain it to me?
from core.
@Brouilles @galdazbiz if you are still interested then you can look at this #39
from core.
Fixed in #39, thanks to @Lukasz93P
from core.
Related Issues (20)
- Laravel 7 installation failed HOT 3
- Change profile avatar | config/chatter.php not work HOT 3
- Facing problems with Laravel 5.8 HOT 3
- I recieved 401 Unauthorized error when I am login !? HOT 1
- I Cant Ask A Question After Installation HOT 3
- Problems with the database HOT 1
- Sanctum Intergration instead of Passport? HOT 2
- Installation failed on laravel 8 HOT 3
- 401 (Unauthorized) : Can't submit a message, react to a post or save a username. HOT 7
- Disabling set user name HOT 1
- Server side rendering for SEO
- I can't use the test data and the installation doesn't work HOT 1
- Warning! The package removes assets HOT 2
- Getting Error from webpack-cli: Can't resolve 'lang.js'
- After installing - SQL Error why? HOT 1
- Vue css not loading correctly
- gitlab Laravel Framework 7.30.6 working draft
- Could not find package chatter-laravel/core in a version matching "^8" and a stability matching "dev". HOT 3
- BadMethodCallException - Call to undefined method Chatter\Core\Models\Discussion::jsonOptions() HOT 1
- 404 NOT FOUND
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 core.