Sunday, April 15, 2012

The implementation of multi-language on your site


Somehow it is strange that this topic is devoted to so few articles. I must admit, I thought that there are many beautiful solutions, but Googled a bit and found only a set of plug-ins. And no theory. Fill this gap.

The implementation of multi-language (site in several languages) is completely dependent on the problem. In fact, there are two possible options: synchronous and asynchronous. In the synchronous case ( encountered not so much as people think ) all articles and items are the same site in different languages. Or everyday language: in whatever language you are not switched on the site, everything is the same, only in another language.

In the asynchronous version of the sites are not equivalent. It may be only one page in another language (. http://tochkaopory. ru /. -. http://tochkaopory. ru / indexen. php. ) And full- site (. http://centrodent. ru /. -. http://centrodent. ru / index. php? lang = en. ).

A typical way to implement a synchronous version - a doubling of the fields. T. e. for each language added to the field in another language. Usually, the name of the fields in the MySQL table prefix. The template and the widgets added processing of variable responsible for the current language - instead of NAME field is derived, for example, NAME {LANG}, where {LANG} can be equal to or _RUS _ENG depending on the selected language. The work is dreary and long, so usually have any studio already has developments on this case for the required modules in the content management system (CMS).

Once fully implemented, the user has a single entrance, but on every news / article / content item must fill out the fields and in another language.

Another way to implement the synchronous version is not synchronous. Nevertheless, it is often used as. Put two independent site with the same settings and fill in the different language. Typically, these sites are separated in different folders or sub-domains. Management often vyrozhadetsya asynchrony in two versions, after a while. Yes, and hosting requirements in such a case arises. Here is an example of such a site on the three bases MySQL:. http://villa-severin. ru /.

Asynchronous sites most often implemented as an example of the above. But there are two options for implementation. Single- unit content and linking to the language.

In the case of single-page one finds ( at least - a few ) content unit outside the main site template - removed or replaced by foreign-language counterparts all navigation links and graphics. Ironically, almost every CMS is actually. A unique link on this page is hung on the flag. Go to the full version of hung up on the other box.

Linking content items (articles, news, pictures, etc. n. ) To the language more complex and requires significant engine dopilivaniya. By the way, we did it one single time in their practice. The bottom line: the desired language is displayed only the content that is tied to a given language, and everything is stored in a single admin. In a sense, is the appearance of content in another dimension - the language. Typically, it costs only one CMS - bound to a section or module. Briefly go into technical details, then any unit of its content by adding a criterion Language. In the future, it determines which version of (language) to withdraw an article or news. As a result, sites in different languages ​​grow independently, but the porridge in the catalog of articles / news in different languages ​​still confused by inexperienced kontentschikov.

A few words about changing the design (and / or navigation) under the tongue. Empirically, we have long stood in the content files for each language. Then go to any other language does not require, for example, expanding the language tables in the database - just to transfer a text file with variables and to connect it by clicking on the flag. In the same file are written and the way to the graphics of the site (if there are items that are replaced ). This method is used not only for multilingual sites, but for one domain parked sites when multiple domains have to assign different templates.

In general, to create a multilingual site in perfect condition you can not do without dopilivaniya. Do you have a case of the simple site in different languages.

Modesty man disfigures

' Modesty adorns '. Well, show me one who she graced? .

You know, for some time now, and in fact for quite some time, I have been doing small private psychological practice, free - relieve stress built up by Rapoport and reflection on some things, give advice and just listen. Here's the evidence shows that. skromniki not interested in people. They have their first, do not notice, secondly, is inextricably linked with their idleness. On the contrary,. ambitious people notice immediately. And those who can and embodies the ambitions - of the love, or at least, respect.

In order not to run for a long time, I am, as always, on a. While other examples abound.

In the garden I had myself in mind - was opposed to the team, I only knew how to read, so I read books in their group instead of the teachers. And the wise men do not like. But now thanks to the mother.

The school has been corrected, the mother was not so much to me to push upward, as the opportunities - she then had the opportunity to, well, for example, take the whole class on an excursion to the neighboring states. So I was quite successful in the classroom. I was pretty modest young man - the yards are not climbing, spending time in the library - where I was an honorary reader (remember how difficult it was to get to the library collection of works Volkova, especially the yellow fog). The girls in my interests were, and here I am in them - there is no.

In spite of my modesty, I am grade 4 to 8 was JI - Chairman of the Board of the detachment, and the last two years the Vice Chairman of the Board squads. I was never a nerd - go hiking, playing soccer, melted lead from batteries. I just always tried not to stick out their knowledge - they are there and there is. I once single-handedly won a citywide mezhdushkolnoe ' What? . In general, what I did, I've always shied away from publicity. And what were my bonuses? . Although the mother later told me that the director of two o'clock detain her, did not want to give the documents when I was transferred to another school ( moved to the regional center).

In another school, I re-training the last two classes, and continued to be as conservative. And the first year at uni I was a modest. So what? . no good. Careers are not growing, the authority did not grow up, girls did not appear even on the horizon.

That's when I started to change a. Painfully, with errors. With the departure of a star in the disease. I often swing. But then climbed and bonuses. I have a better estimate - a point for the popularity and usefulness in general for the Department of. I began to talk more - because now had to talk and explain, and the hammer, and to persuade - to own speech in full. I became more sociable (although I'm moody introvert by typology ), I had friends and acquaintances, not only for the group in which I was. I met with a mass of interesting people. The first time I was able to please a girl. And no one.

I never learned to pick. I think that seduce the girl for fucking - nasty. The desire should be mutual. I'm not a prude, I do not a prude, but just say - let 's have sex instead of talking so that you do not give a slap - this I have spent years.

After leaving the business, I do not know how to sell. Now I know to sell something you should be able to sell yourself first and foremost. I heard about the tests in some companies, when they propose to sell a piece of paper. Yes, no problem. My only summary was tuned to the point and was a three sheets to text 12pt. Then I read dozens of resume - people can not write about myself. They do not know how to praise themselves. I'm constantly forcing myself to praise their employees by. I did not tell them 'what bitching design ', I say ' well you yourself think? '. And people grow. A little funny to see people not much younger than themselves signs of greatness and stardom - when I turned up their. But the main thing - they learn to love yourself, to get up every morning with the thought -. I'm a guy (girl ) just zaebis!.

I have always believed that. love for others comes through self-love. Love - as good ( and bad ), a sense of comparative. Do you understand the love can only be compared with the absolute. And how to get the absolute? .

So humble person does not paint, she hides it from him the possibility of the same. Although there are not humble people, who for the ' modesty ' hide laziness or weakness. ' I did not get the place because Bob rushing to the head, and I'm shy. ' Yes, you're not shy, and a lazy fag - Bob, even though it ebashit less, but cleverly shows the results of labor. Well, that's mind for some reason does not want to make a person not just do something, but to show it to others.

Historical examples? . Everywhere we were the first left-hander, but modest. Now we are proud of them, though the pride of this urapatriotnaya. And I more impressed by the success of our tenissistov (s ) that will not fail, and take part in fashion shows, and say how much they love their country.

Not a small and no shame - to sell (or if you wish to file ) a. Small and shamefully then sit in the kitchen, rattling on the edge of the table herring and complain life is simple. Like you, this bitching proffesionala spared and thrown into the street. Be!.

Friday, April 6, 2012

Karahana - The First Psychedelic Trance Movie ( 1998)







If you have a slow internet just click on the playback will wait until the first frame and press pause for 1-2 minutes to the film loaded in the cache, and faster than the playback and press play again. or for faster navigation through the Internet and video in the cache zagruski install the new version. Mozilla Firefox. Please advise if you notice that the film is removed, the link is not working, blocked. just leave a comment under the material. Thank you! .

Thursday, April 5, 2012

In 2012, construction will begin the most powerful telescope





In the European Southern Observatory, located on the territory of Chile said that in 2012, will begin construction of the world's largest ground-based telescopes - The European Extremely Large Telescope.

This ambitious plan to build a scientific attitude has already been approved and funding obtained. The Governing Council of European Southern Observatory, ESO (European Southern Observatory) has approved a budget for 2012, which provides for preparatory work to establish a European Extremely Large Telescope, or E-ELT, sends CyberSecurity. ru.
Located a giant optical telescope will be located in the dry highlands of the Chilean Atacama Desert. Construction of the telescope - a project of the joint efforts of 15 countries from Europe. E-ELT located in a mountainous area of Chile because of the extremely dry climate, perfect cloudless skies and crystal clear skies, allowing the night to watch the sky with the same quality, which are orbiting telescopes. According to meteorologists, in a completely cloudless sky Atacama about 320 days a year, and for the year then receives only about a millimeter of precipitation, which is usually dissolved in the atmosphere and do not reach the earth's surface at all.
...
Now a new 42- meter optical telescope is still only on paper, but the planning phase is almost completed, scientists say. According to project documentation, the weight of the telescope will be 5000 tons, it will have 984 individual mirrors made ​​from beryllium. Astronomers say that the power of the telescope will be such that it is the only ground-based telescopes can observe extrasolar planets, as well as literally see ...
Now researchers hope to make European Extremely Large Telescope will be able by 2018. If the project budget will not be reduced, then the telescope will be scheduled as a 4-fold higher than his closest colleague and ground-based astronomical 100 times more powerful than the Hubble Space Telescope.
Separately, the European Southern Observatory telescope optics talk about. It is expected that the unit will have a very powerful optical and laser guidance system at the stars, which will allow the telescope just focus on the radiation of distant stars. Computer Systems European Extremely Large Telescope will coordinate the work of six laser guidance systems and 984 beryllium mirrors.
... The combination of incredible technological might and gigantic telescope European Extremely Large Telescope will be able to not only determine the presence of planets outside our solar system, but also to investigate the structure. The results of these studies may be unmatched, ...
Studying with the help of European Extremely Large Telescope, astronomers are going and the history of galaxies. Telescope's scientific instruments will study the chemical composition, age and weight of distant galaxies. The researchers note that studies ...
However, today the European Extremely Large Telescope - a project which is estimated to cost European taxpayers nearly one billion euros, with the construction phase, this amount is likely to increase.

Monday, April 2, 2012

Off-line interviews - answering your questions

questions were asked. here.

Where do you work, by whom, and how exactly do you get per month?.


Although I wrote about it repeatedly, but again. I have several of their companies, in two places, I acted as a remote database programmer - his own accounting software incoming patients. As a public organization, then it is easier to calculate in my state, you pay for the work on the fact. So that 's where I 'm only on call, about 1-5 times a month. I once counted its total official salaries, which are deducted from the taxes. It is about 26 thousand. rub.

What kind of vacation, and where do you prefer?.

I love to read. His last mikrootpusk I spent like this: sleeping for 14 hours, drinking beer and a bit of walking. Another read two books. For three days. Another shopper, I - I love poshlyatsya shopping poprismatrivatsya to things and their prices. This is especially true of vehicles. By going on nature, I 'm cool as active recreation. Previously, a couple of times a year, went on a campaign, but now more and more like comfort. A drive and adrenaline, and I have to work more than enough.

What is the island for you? .

Where Samoa. So quiet and peaceful. And smaller neighbors. And the uninvited guests. Internet, bungalows, boats, banana and breadfruit, and scored for the year ahead refrigerator. And a couple of beauties in the neighboring bungalows.

Are you doing the promotion side projects?.

Third party - the client? . So the answer is - yes. But lately I've been quietly promoting iconify. It's boring and not very promising. And the answer for the actions of Yandex and Google do not like. nervous rabotenka.

your opinion about udaff. com and nnm. ru.

To each his own. I do not visit these sites. Sometimes reading otzhygi Albanian afftor, but now no longer Torquay. Varèse I also do not care. The list of software I used is very short. With respect to software I'm very conservative, so go varezniki mime forest of my mind. Here I use torrents. Local and when you need something special - tfile. ru.

your opinion about the product devilseo. com ( the button loot?).

Any copy-paste, sooner or later die, and if you do not die, then will not have much effect. Yes, certainly, constantly updated digest will return the money spent, but expect that you will break the jackpot - it would be naive to. From my point of view there are two options for any business to make big money: do but a lot of bad and good but do little. If devilseo gives the opportunity to work on the first option - take a shovel and go rowing Salvage.

what do you think - is it true that amerikosy not landed on the moon?.

To be honest, I do not care. From the standpoint of common sense, more importantly, who will be able to establish the first colony on the moon. I would have bought shares in this company now.

yuzaesh Hrumer seoshnyh in order?.

no. proposed. But I prefer the old-fashioned. Yes and no great need to juzat.

We predicted the date of absorption Yasha rumble ( yahuu,. ).

Five years or more will not change. The first candidate for polgoschenie - a Rambler. First, it does not belong to itself, and investors ( Prof-Media ). Secondly, things are bad, and it has long. Yandex also may well be Russian Baidu. And for a long time to keep the defense. Again Antimonopolschiki not give approval for the transaction. And to bring up a small share of Yandex in Russia will not be easy, even google.

how much income you have in your day with a sap? .

11-12 days with 59 projects. Not much, but half - my best fresh, 17 projects in the bath.

how are your siege?.

Rather dead than alive. no time.

Why part with your wife?.

Exhausted the resources of tolerance with respect to one another. For 9 years I have used all ugovorki not to leave. But they ran out of. Now more or less normal personal relationships, and children have become accustomed and respond calmly - obstacles in communicating with them none of us does not repair.

splogi rivet?.

no. But the bulk of my sites - it is extended digests. There is a collection of articles, the different kinds of search, vote, a directory of organizations, etc. Dr.. Perhaps with some assumption it can be called splogom, but no relation to the rss my sites do not have.

are you superstitious?.

no. But I believe in luck. I believe in that lucky one who allows himself to find the success of this.

Are you doing the planning of the day, if so, describe.

Usually, I only plan to meet. During the day-ahead. Things do not plan to. In recent years, to somehow organize ideas, write tasks on small pieces of paper and put them next to the keyboard. Another try from surrounding my staff and clients to make the resemblance diary - you need to, remind. In my head in such a case, only the label - something must be done about then that. It works well.

Favorite book?.

I love Heinlein. Stranger in a strange country, Double Star. Like Asimov's Foundation trilogy, the first. Once persya, while the book does not break completely from Svejk Jaroslav Hasek. Modern literature, especially Russian, I was not impressed. Classics, too, dislike. But I read everything, if you fall into the hands.

Why do I sometimes think that the blog write two different people? .

Because I have quite a varied nature and polar mood may prevail even in the same moment.

Whether the relationship has affected your greed to work and irregular working hours. And do that for you in the first place the family or work.

This issue deserves a separate post. Someday, will paint.

If you have any questions - write in comments to this post. Then again, a bundle of answer.

Weather forecast for Friday



Kaliningrad.
Thawed. Even relatively warm (about 5) and can walk without a cap. The snow remained only a small muddy islands. Yesterday was a fine rain. Today is overcast, but still no rain. Spring, ept, in the court.

And how are you?.

---------------------------------.
Sign up. to update the blog with one click!. Advertising blog.

Sunday, April 1, 2012

The button for the ' Read More '










Tired of not nice link. ' Read more '. With which you can reduce your long article on the front page? .



  1. Create your dreams in the button. graphics generator.


  2. go to the. ' Template '. and in the upper right corner of the press'. Backup and Restore '. Load the entire pattern.


  3. Go to. ' Template ' / ' Edit HTML'.


  4. find the code.


  5. Instead, insert the code of your images from one point! .














  1. Enjoy the stylish button!.



If something does not work, then write! .