ThemeForest

Internationalizing Large Amounts of Text

636 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • United States
  • Referred between 500 and 999 users
cudazi says

Is there a best practice for internationalizing large amounts of text for built-in theme documentation or similar other than just wrapping in the __() or _e() functions?

Maybe providing ways of including different txt files based on language settings? (en_EN-setup-info.txt, bg_BG-setup-info.txt,, es_ES-setup-info.txt, etc…)

8 months ago
cudazi is an Envato staff member
2211 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
OrganicBeeMedia says

I suggest sticking to _() or _e() as in WordPress 3.3 they are adding language packs for core/plugins/and themes ….. I haven’t had time to dig into what it will actually do and theres not much docs on it yet

8 months ago
636 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • United States
  • Referred between 500 and 999 users
cudazi says

Thanks Chris, it’s always just a version away when I need things. :) It just gets ugly with the mix of text/php.

8 months ago
cudazi is an Envato staff member
652 posts
  • Has been a member for 3-4 years
  • Bought between 1000 and 4999 items
  • Canada
  • Referred between 1 and 9 users
chrismccoy says

check out glotpress

8 months ago
174 posts
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 50 and 99 items
  • Indonesia
  • Referred between 1 and 9 users
agusmu says

check also CodeStyling plugin,

http://wordpress.org/extend/plugins/codestyling-localization/

we recommend it to our theme buyers… it also has built-in scanner to update the translation file.

8 months ago
636 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • United States
  • Referred between 500 and 999 users
cudazi says

Thanks!

8 months ago
cudazi is an Envato staff member
by
by
by
by
by