Comments (8)
In static page? well it gonna be difficult. I need to change some table structures for that.
For now there is no such a feature yet. But I'm considering it. Some of my friend also show what "ionize CMS" can do. And I think it should also be available in No-CMS.
from no-cms.
i now because i've tryed to do it ...change the core ...
from no-cms.
Hi @necuratu , I hope you will be happy to look this:
http://www.getnocms.com/2012/11/multi-language-even-for-static-pages.html
from no-cms.
yes that is a solution bun not quite one corrent ..because lets say you have a text ...and you what that text to be managed from the admin .....
from no-cms.
Do you mean about having a paragraph to be translated into another language?
Yes, it gonna be another problem :(
BTW, I've just got an idea.
What do you think if I provide something like this:
{{ content }}
The quick brown fox jumps over the lazy dog
{{ if_language:german}}
Der schnelle braune Fuchs springt über den faulen Hund
{{ end_if_language }}
{{ if_language:indonesia}}
Rubah cepat coklat melompati anjing malas
{{ end_if_language }}
{{ end_content }}
So, by default the content will be "The quick brown fox jumps over the lazy dog"
But if you change the language into german, the content will be "Der schnelle braune Fuchs springt über den faulen Hund"
And if you change the language into indonesia, the content will be "Rubah cepat coklat melompati anjing malas"
(PS : I use google translate German language, so please forgive me if there are errors in the sentence)
from no-cms.
Hi, @necuratu , what do you think if I use something like this: http://www.getnocms.com/2012/11/better-multi-language-template-better.html?
from no-cms.
What about the possibility of a child table e.g. cms_navigation_lang
?
id
nav_id
language
content
When static content is displayed, there would be a conditional statement to check which language is active and retrieve the appropriate version of the content. Content in the navigation table field would be for the default language.
from no-cms.
@AndrewPodner I have think of something like that. But it is not general. I mean, if I provide something like cms_navigation_lang, there will also be a request for cms_widget_lang, blog_article_lang etc.
For now, I think the current solution is better.
from no-cms.
Related Issues (20)
- suggestion: bootstrap glyph as badge-icon HOT 1
- how to disable third party auth ? HOT 2
- library dropdown
- jquery fancybox HOT 2
- Problem with hosting HOT 1
- Error running NO-CMS on xampp installation HOT 2
- bad Merge from development to master HOT 1
- Translation: Form_submit HOT 2
- Internet Connectivity Setting HOT 2
- How to make admin panel different from frontend
- Slide Image Change in live server HOT 1
- Login not working HOT 3
- Issue on Apache 2.4 authz_mod HOT 1
- How can i use bootstrap version 4 to create my own theme. HOT 3
- Stored XSS in No-CMS HOT 1
- 2nd Stored XSS in No-CMS HOT 1
- XSS Persistent HOT 1
- Another Persistent XSS HOT 2
- sql injection HOT 1
- Dynamic Parameters in database.php
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 no-cms.