Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2011-12-12 Thread Django
#4030: internationalization - auto translation of LANGUAGES
-+-
 Reporter:  temp@…   |Owner:  nobody
 Type:  Uncategorized|   Status:  closed
Component:   |  Version:  SVN
  Internationalization   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  LANGUAGES|  Needs documentation:  0
  settings.py|  Patch needs improvement:  0
Has patch:  1|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by anonymous):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


Comment:

 I just want to comment that users of a website will see a mess when the
 fonts needed have not been installed onto his computer. I have considered
 this problem for my own websites (which are highly localised) and I really
 only found one good way around it.

 So the problem is that if you use many languages, and present the text as
 fonts, and the users do not have all of the fonts required by those
 languages installed, then there will be a mess on the page. This is in my
 opinion completely unacceptable. Wikipedia is one example where this mess
 regularly occurs - you know they have the language list on the edge of the
 page and the mess appears there.

 One good way to solve this problem is by making such language selection
 have images instead of HTML text. This solution works very well. You can
 have a textual language selection list in English always present at the
 top of all pages, but you can additionally have a language selection page
 where you can have the image buttons and those would have the names of the
 languages in the respective languages. This way you will not get any mess
 displayed to the users. An example of this idea in use is at the NHK World
 website.

 It is just something to consider for your own website design work and not
 directly about Django.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2010-12-02 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  t...@barnettweb.net   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by ramiro):

  * needs_better_patch:  1 => 0
  * needs_docs:  1 => 0

Comment:

 I've uploaded a new (RC 0, I intend to commit this ASAP) patch, updating
 the great work made by Antti Kaihola (''akaihola'') with the following
 changes:

  * Removed the standalone `make-lang-info.py tool`. We've tried in the
 past to minimize the number of such kind of commands because that mean we
 or downstream maintainers need to track another 'program', create man
 pages for them, etc. I've moved that functionality to a management
 command.
  * The name name of the command is `makelanginfo`, can be changed if
 deemed not completely appropriate.
  * (minor) Renamed the dictionary containing the languages metadata in
 `django.conf.locale.language_info` from `language_info` to `lang_info`
  * Moved the location of the `language_info.py` from `django/conf/` to
 `django/conf/locale/`. The new location seemed more appropriate but I
 don't know if having a single `.py` file there among the translations
 subdirs (and in the future our .pot` files) is totally correct.
  * In `django/utils/translation/__init__.py`, moved the import of the
 dynamically generated `django.conf.locale.language_info.lang_info`
 dictionary from the module level to inside the `get_language_info`
 function. This removes the circular import in the management command that
 previously was solved by creating first an empty `language_info.py`. This
 also makes unnecessary to force the .py -> .pyc compilation after the
 final .py file is created.
  * Changed the description of the command in a few places to put emphasis
 in the fact that this is a command generally not used by final users but
 rather by the Django developers. I think that once we have this in place,
 we can add the ability to handle additional metadata about languages
 outside of the Django tree as part of fixing #14461.
  * Added documentation (section in django-admin management command
 document, `django-admin.1` man page blurb)

 Open Questions:

  * It is OK to have automatic generation of a `language_info.py` under the
 Django tree that is later loaded as part of the I18N infrastructure? Or
 would it be better to e.g. creating a JSON file (performance wise, I think
 it is possible to cache its loading per process at runtime as done in
 other parts of the framework.)
  * Should we also add a wrapper function to django.utils.translation to
 also allow access to the full `lang_info` dictionary from Python code?
  * Should we move the `get_language_info` function from
 `django/utils/translation/__init__.py` to `trans_real.py` and
 `trans_null.py` like other functions there? If so, what should it return
 when I18N is turned off (`trans_null.py`)?

 Reviews welcome!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2009-12-17 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  t...@barnettweb.net   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  0  
  
Needs_better_patch:  1 |  
---+
Changes (by anonymous):

 * cc: h...@atizo.com (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2009-04-28 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  t...@barnettweb.net   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  0  
  
Needs_better_patch:  1 |  
---+
Comment (by akaihola):

 Just updated the patch for Django revision 10639.

 Bah, Trac doesn't display the patch properly. Quoting
 [http://djangopeople.net/peritus/ peritus] from
 [http://code.djangoproject.com/ticket/9289#comment:4 his comment to
 #9289]:
 >The trac patch-viewer has problems showing patches from "git diff", which
 is an acceptable format for patches according to
 http://docs.djangoproject.com/en/dev/internals/contributing/#patch-style

 >Download the patch and view it with your favourite text editor and you
 will see the correct file names.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2009-02-07 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  t...@barnettweb.net   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  0  
  
Needs_better_patch:  1 |  
---+
Changes (by garrison):

 * cc: j...@garrison.cc (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2009-01-17 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  t...@barnettweb.net   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  0  
  
Needs_better_patch:  1 |  
---+
Changes (by gonz):

 * cc: gonz (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #4030: internationalization - auto translation of LANGUAGES

2008-10-06 Thread Django
#4030: internationalization - auto translation of LANGUAGES
---+
  Reporter:  [EMAIL PROTECTED]   | Owner:  nobody   
Status:  new   | Milestone: 
  
 Component:  Internationalization  |   Version:  SVN
  
Resolution:|  Keywords:  LANGUAGES 
settings.py
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  1 |   Needs_tests:  0  
  
Needs_better_patch:  1 |  
---+
Changes (by anonymous):

 * cc: [EMAIL PROTECTED] (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---