Search found 47 matches: i18n

Searched query: i18n

by nebenaube
Sun 29. Mar 2009, 18:58
Forum: phpwcms Installation Troubleshooting English
Topic: 'Cannot Access This Script Directly From This Page'
Replies: 15
Views: 10198

Re: 'Cannot Access This Script Directly From This Page'

Makes sense... just disable i18n in the config file.
by update
Sun 29. Mar 2009, 18:30
Forum: phpwcms Installation Troubleshooting English
Topic: 'Cannot Access This Script Directly From This Page'
Replies: 15
Views: 10198

Re: 'Cannot Access This Script Directly From This Page'

This isn't the complete truth: en.php is generated as soon as the i18n machine (activated in conf_inc) is hitting some@@my super expression@@ and your browser language is en. Then it tries to write into template_lang/, but there are no sufficient permissions. ...
by Jensensen
Tue 24. Mar 2009, 22:57
Forum: hacks & enhancements
Topic: Language Redirection according to visitator country
Replies: 19
Views: 6947

Re: Language Redirection according to visitator country

claus wrote:... would mean that I'll never be able to visit your german part of the site because my browser language is en-US english by default ...
so what is this i18n stuff all about?
by Oliver Georgi
Sun 22. Mar 2009, 11:58
Forum: phpwcms Support English
Topic: @@text@@ doesn't work in shop module
Replies: 8
Views: 1589

Re: @@text@@ doesn't work in shop module

i18n can be used in frontend only. It is NOT designed for "internal" replacements.

Oliver
by Oliver Georgi
Sun 22. Mar 2009, 09:20
Forum: phpwcms Support English
Topic: @@text@@ doesn't work in shop module
Replies: 8
Views: 1589

Re: @@text@@ doesn't work in shop module

It will work there too because the global i18n rendering is done at the end - always. So maybe there is another problem.

Oliver
by update
Thu 19. Mar 2009, 11:52
Forum: phpwcms Support English
Topic: strange signs in conjunction with i18n and BE ajax
Replies: 1
Views: 1420

Re: strange signs in conjunction with i18n and BE ajax

OK- "monologueing" again Today I deleted every file /of template_lang and now it seems to write a clean file again... So another question is occurring: when I edit these files to do a little translating - how would I save these files and store them back on the server? utf w/o bom, with bom...
by update
Wed 18. Mar 2009, 19:46
Forum: phpwcms Support English
Topic: strange signs in conjunction with i18n and BE ajax
Replies: 1
Views: 1420

strange signs in conjunction with i18n and BE ajax

Out of a sudden the i18n isn't working anymore. until the day before yesterday everything has been fine and working as expected. Now I get things like $i18n_tokens['Land / Sprache wählen'] = 'Land / Sprache wählen'; // NEW 2009-03-18 ...
by update
Thu 12. Feb 2009, 13:01
Forum: phpwcms Support English
Topic: r302 version update 1.4.1
Replies: 14
Views: 3216

Re: r302 version update 1.4.1

Not exactly. The newly created file (en-en.php) is already containing the line $i18n_tokens['Land / Sprache wählen'] = Land / Sprache wählen'; Now you just translated it into $i18n_tokens['Land / Sprache wählen'] = 'Choose Country / Language'; where ['Land / Sprache w&...
by sustia
Thu 12. Feb 2009, 12:42
Forum: phpwcms Support English
Topic: r302 version update 1.4.1
Replies: 14
Views: 3216

Re: r302 version update 1.4.1

This is great stuff!!! Just wrap any text with @@ like so: @@my super text@@ you can use it wit alt tags for images, title tags for links, text within your content, within your templates.... Every time a user with a new (browser) language setting is hitting the site, a new file will be placed into ...
by Jensensen
Thu 12. Feb 2009, 02:21
Forum: phpwcms Support English
Topic: r302 version update 1.4.1
Replies: 14
Views: 3216

Re: r302 version update 1.4.1

... wrap any text ...image ... Really sounds GREAT! (so far i had no time left for testing. obviously you did?} ... Now you only need to translate it: $i18n_tokens['Land / Sprache wählen'] = 'Choose Country / Language'; ... Where, what, how? Do you mean manually? I thought, that the transl...
by update
Thu 12. Feb 2009, 02:08
Forum: phpwcms Support English
Topic: r302 version update 1.4.1
Replies: 14
Views: 3216

Re: r302 version update 1.4.1

This is great stuff!!! Just wrap any text with @@ like so: @@my super text@@ you can use it wit alt tags for images, title tags for links, text within your content, within your templates.... Every time a user with a new (browser) language setting is hitting the site, a new file will be placed into /...
by Jensensen
Wed 11. Feb 2009, 01:40
Forum: phpwcms Support English
Topic: [solved] error with $phpwcms['i18n_parse'] of config
Replies: 2
Views: 1136

Re: [solved] error with $phpwcms['i18n_parse'] of config

strange enough. i have another site with template_lang set to 755 running without any errors. it must be a questions of ENV, i guess. so, take this as info only.
by Jensensen
Wed 11. Feb 2009, 01:19
Forum: phpwcms Support English
Topic: [solved] error with $phpwcms['i18n_parse'] of config
Replies: 2
Views: 1136

[solved] $phpwcms['i18n_parse'] =1 ==> error

For me it is required to CHMOD the directory /template/ template_lang / to 0 777 (default was 755). Now the cms is allowed creating/writing files within. And these files for example are called: 'en.php' or 'de.php'. On my web server they have some settings like 'nobody 644'. Conclusion: DIR /templat...
by Jensensen
Tue 10. Feb 2009, 23:29
Forum: phpwcms Support English
Topic: [solved] error with $phpwcms['i18n_parse'] of config
Replies: 2
Views: 1136

[solved] error with $phpwcms['i18n_parse'] of config

when set to 1 like $phpwcms['i18n_parse'] = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement i get: Warning: fopen(/is/htdocs/123XYZ/cms/template/template_lang/de.php) [function.fopen]: failed to open stream: Permissio...
by caraen
Mon 29. Mar 2004, 21:22
Forum: phpwcms Bug Reports
Topic: problems inserting link in editor
Replies: 12
Views: 4926

... <script type="text/javascript" src="popup.js"></script> <script type="text/javascript"> window.resizeTo(400, 200); I18N = window.opener.HTMLArea.I18N.dialogs; function i18n(str) { return (I18N[str] || str); }; function onTargetChanged() { var f = document.getElementById("f_other_target"); ...