I need to setup a blog using wordpress engine but i need it support multi languages (3 languages), currently i am thinking of using custom field to identify the language of current post though i knew thats not a best practices, does anyone has better suggestions?
I've tested 2 plugins that both looked very promising: qTranslate and Gengo
qTranslate works by adding inputs for all used languages for each post, Gengo used separate posts and links them in a "post Y is a translation of post X" way, which I preferred much (because it allowed me to not translate everything) and it worked fine for me.
I have used the xlanguage plugin and I am happy with it.
xlanguage site
I fi i remember well, wordpress uses a gettext "customization" library to translate itself.
I think you can make some options based on a session variable, about the translation files you're going to read.
Try using plugin wordpress WPML.
Related
I am building a multilanguage Wordpress website, is it possible to display a different error message for each language when a search returns no results and how?
Thank you :)
It depends a lot on the plugins and the template you are using. I can sugest the following link:
http://codex.wordpress.org/Translating_WordPress
Many modern templates come with .po files that allow easy internationalization of most text elements such as search and results that you are looking for. Same happens with plugins, if they follow good practices you should be able to translate/internationalize everything you need.
Now I am Working on a Wordpress Project. and my problem is in my project site must work in two language Like this If i select one of this language site Must Change the language as i select please help me to find a solution :'( (I wont need a plugin because its not change it proper )
You say you don't need a plugin, but WPML is cheap and the best at doing this, by far. I have used it personally doing client work and it is the best multi-language plugin for WordPress I've used.
I am using gtranslate plugin only and it is working very well. It has Translations between 58 languages with the support of flags.
In the settings panel of this plugin, put translation "on fly". Then it will not reload the page for translation.
Just Try it. Cheers!!!
I have created a static website using xhtml, css and jquery. I have got zero knowledge or understanding of how php and mySQL works. Is it possible to create fully functional theme for wordpress? And how about using frameworks?
You'll be able to do it but you'd need some basic at least PHP knowledge to get going.
Start out having a look at the Wordpress Codex - http://codex.wordpress.org/Main_Page.
It's full of all the information you'll need to get started.
From there have a look at an existing Wordpress theme. Try making small changes to that and see how you get on.
You won't really need MYSQL as Wordpress runs it's own, easy to understand querys.
Good luck.
Anything's possible with enough time.
At the very least you will need to learn PHP, but you can do this by downloading an existing theme and modifying it to suit your desired HTML output.
I have an existing custom feed using do_feed_* but I see there is an undocumented (and existing since 2.1) *_add_feed. Is one better than the other?
I have do_feed_* working but since I upgraded to 3.0 last week, any URL with "&author=" in it redirects to the root site page. Take it out and it loads the page fine (but of course does not show the proper author). So, as I investigate, I wonder if *_add_feed might be better?
Relying on an undocumented method in any API is more dangerous than figuring out how to properly use a documented method.
add_feed is the best starting point and is now a documented part of WordPress. This function has been in WordPress since v2.1.
You should prefer adding your custom feed using add_feed over do_feed_*. An example of how to add your own custom RSS feed to WordPress is discussed on the WordPress Answers site: Cannot get add_feed to work.
my challenge is to built a video portal, based on wordpress (blog already started).
so in the backend there must be a option to add, tag, descripe videos and in frontend the videos must have a comment function, must be searchable and so on.
wordpress gives already a large amout of functionallity and i want to use this, comments for example, but also categorisation and tagging.
what is the best practise to built such a "plugin" ?
where to start? what to use?
custom tables and built everything by myself or can i use the blog functionallity to advantage?
hopefully everything is clear, comment if not ;)
Take a look at VideoPress.