Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Upgrade: 'Language-ize' remaining static content

#296

Now that the 2.0 expLang subsystem is fully implemented and the 1.0 lang subsystem is deprecated. it might be a good idea to converts some of the static text in the templates to use the gettext (or gt) functions. E.g., The 'Save' button should become whatever 'Save' is in the selected language instead of a mix of English and selected language

Reported by dleffler · August 11th, 2011 @ 04:20 AM

State: open
Milestone: 2.0.3
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja

    (from [874d516115528168e9fb675c9e8e0b3b7114c60b]) Updates some language which breaks language system (uses double quotes, etc...) Most of the existing views reached from the slingbar are now scrubbed but need more 'language-izing [#369 Feature request - Simplify creation of new language translations ][#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/874d516115528168...

    November 2nd, 2011 @ 03:38 AM

  2. expNinja
    expNinja

    (from [46ee9df581611d2df17f8ddff2e775f4d418bd60]) Strips out double-quotes before getting into the translation routines to prevent breaking the site with a bad language file [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/46ee9df581611d2d...

    November 2nd, 2011 @ 06:59 PM

  3. expNinja
    expNinja

    (from [6a80ed7ef3bce857a1699fedd0b30dd9170d15af]) expLang replaces double-quotes with single-quote before getting into the translation routines to prevent breaking the site with a bad language file, administration module now language-ized with updated English template [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/6a80ed7ef3bce857...

    November 3rd, 2011 @ 01:33 PM

  4. expNinja
  5. expNinja
  6. expNinja
  7. expNinja
  8. expNinja
  9. expNinja
  10. expNinja
  11. expNinja
  12. expNinja
  13. expNinja
    expNinja

    (from [efb2aea4d85de7e464b14938f012214a93d7c480]) More Language-ized updates to common & core views, fwiw, we can't use generic icon plugin for things like expTags, because that's the model name when we'd need to to say 'tag' instead of 'expTag' [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/efb2aea4d85de7e4...

    November 4th, 2011 @ 09:57 PM

  14. expNinja
  15. expNinja
  16. expNinja
    expNinja

    (from [1b876fa802da1e0e9d92caed3a38b5e90dcbfc54]) Adds option to display media player (flowplayer) in filedownloads if file is mp3, flv or f4v, also languagizes filedownloads [#379 Feature request - Add flowplayer support to filedownloads module state:resolved milestone:2.0.3 owner:dleffler] [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/1b876fa802da1e0e...

    November 8th, 2011 @ 06:26 PM

  17. expNinja
  18. expNinja
  19. expNinja
  20. expNinja
  21. expNinja
  22. expNinja
  23. expNinja
  24. expNinja
    expNinja

    (from [a8cc018090c73613b7de045283d39bf6b6a92f21]) More Language-ized remaining old school modules, required revising some calendar display code to language-ize the recurring part of the form.

    At this point the following still remains: - E-commerce hasn't been touched except for the buttons - There are some of the delete confirm statements that aren't language-ized - The .tpl file probably need to be reviewed to make sure i caught everything - The text injected by the controller (not in a .tpl) is still mostly hard-coded, but should be updated - There are still a lot of phrases that haven't been 'tripped' across to have them added to the default phrase library (English - US.php) - There should probably be a general consolidation of some of the phrases so the translation file is smaller, yet would have a greater impact across the system. e.g., break apart a long phrase into the portion that is used most often, and 'cat' it to the remainder of the phrase. - There are probably still some 'bad' phrases in the templates, though they won't break the system (anymore), they won't translate. These would be ones with symbols like quotes, etc... [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/a8cc018090c73613...

    November 9th, 2011 @ 01:08 AM

  25. expNinja
    expNinja

    (from [09ab1fd2e8676e8a35ee2657d5584b40c508a955]) Adds some additional info to manage languages view, including an automated translation command (requires a Bing API value constant being set), also includes a new spanish translation ran through the automated translator [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/09ab1fd2e8676e8a...

    November 11th, 2011 @ 03:32 AM

  26. expNinja
  27. expNinja
  28. expNinja
  29. expNinja
    expNinja

    (from [0358c1722511894a3efd170ef7a393628b524b2f]) Updates all php function calls to use gt() vs gettext() (which is not us) and expLang::gettext(), converts all the smarty gettext function calls with gettext modifer for standardization, begins some ecommerce languagization in the process [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/0358c1722511894a...

    November 12th, 2011 @ 05:23 PM

  30. expNinja
    expNinja

    (from [3558a5d8faa6855893189c700a54ab91319ed355]) Updates default language phrase library to include ALL phrases (using a soon to be released tool), includes some updated templates to correct some phrases. [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/3558a5d8faa68558...

    November 13th, 2011 @ 06:44 PM

  31. expNinja
    expNinja

    (from [238959b2b59a74527a53d51ec1865a3ca1be4f57]) Full Spanish translation (file), also the two scripts to extract language phrases and auto-translate the current language file. Also adds some blank constant assignements so we don't get errors when running up exponent_bootstrap.php from the command line (instead of a web server). [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/238959b2b59a7452...

    November 13th, 2011 @ 09:27 PM

  32. expNinja
  33. expNinja
    expNinja

    (from [a0d11f3b192df620cb9f84557c4d60ea7385d127]) Minor language updates to core controllers, models, models-1, conf/data, root files and assoc, updates to Spanish & German translations. [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/a0d11f3b192df620...

    November 14th, 2011 @ 01:52 PM

  34. expNinja
    expNinja

    (from [406a5bb452a2879f88bb14d307dc3e77b3b1acc8]) Adds some missing global variables used by expCSS & expJavascript which may have caused some issues. Also updated some of the 'gettext' formatting in the container views. [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/406a5bb452a2879f...

    November 15th, 2011 @ 01:00 AM

  35. expNinja
  36. expNinja
  37. expNinja
  38. expNinja
  39. expNinja
  40. expNinja
    expNinja

    (from [724764d4b1f12c974cd7a6cf8d59272290aa2f8f]) Cleans up language file by removing obsolete phrases (script updated) and changes espanol filename to one without special characters which was causing issues between OS's [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/724764d4b1f12c97...

    November 15th, 2011 @ 03:57 PM

  41. expNinja
  42. expNinja
  43. expNinja
  44. expNinja
  45. expNinja
  46. expNinja
  47. expNinja
    expNinja

    (from [521d48ed2923077071e07048101a5c402a812a8d]) Correct Spanish Language file (special characters were mucked in the filename change) and language-izes the permission names. [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/521d48ed29230770...

    November 15th, 2011 @ 06:49 PM

  48. expNinja
  49. expNinja
  50. expNinja
  51. expNinja
  52. expNinja
  53. expNinja
  54. expNinja
  55. expNinja
  56. expNinja
  57. expNinja
  58. expNinja
  59. expNinja
  60. expNinja
  61. expNinja
    expNinja

    (from [d6272cf0928bf56a49e7b4092b1ffd591170b27b]) Updates control, ddrerank, & icon smarty plugins to assist with translation if not sent to them in the non-english form...HOWEVER, if the construct doesn't run through the |gettext modifier, it probably hasn't been extracted and placed in the phrase library. [#296 Upgrade: 'Language-ize' remaining static content] https://github.com/exponentcms/exponent-cms/commit/d6272cf0928bf56a...

    December 23rd, 2011 @ 06:13 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.