Skip to content

Instantly share code, notes, and snippets.

@brookinsconsulting
Created November 26, 2011 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brookinsconsulting/1395533 to your computer and use it in GitHub Desktop.
Save brookinsconsulting/1395533 to your computer and use it in GitHub Desktop.
2011.11.26 - Translation extension settings troubleshooting
Error Message:
Debug: ezpI18n::translateText Nov 26 2011 11:45:09 Missing translation for message in context: 'extension/bcloremipsum/create'. The untranslated message is: 'Create nodes in content tree for eZ Publish'
Related Settings:
Extension translation settings:
File: extension/bcloremipsum/settings/site.ini.append.php
[RegionalSettings]
TranslationExtensions[]=bcloremipsum
File: settings/siteaccess/ezwebin_site/site.ini.append.php
[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-US
TextTranslation=enabled
File: settings/siteaccess/ezwebin_site_admin/site.ini.append.php
[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
ShowUntranslatedObjects=enabled
SiteLanguageList[]
SiteLanguageList[]=eng-US
TextTranslation=enabled
Admin settings check information reported:
Checked in admin access /settings/view, Selected ini: site.ini, Using siteaccess ezwebin_site_admin
Shows: RegionalSettings, TranslationExtensions, TranslationExtensions default
extension:ezwt
extension:ezoe
extension:ezie
extension:ezwebin
extension:ezgmaplocation
extension:ezstarrating
extension:ezodf
extension:bcloremipsum
extension:ezmultiupload
[0]
[1] ezwt
[2] ezoe
[3] ezie
[4] ezwebin
[5] ezgmaplocation
[6] ezstarrating
[7] ezodf
[8] bcloremipsum
[9] ezmultiupload
Shows: SiteLanguageList default
siteaccess
[0]
[1] eng-US
ContentXMLCharset default
enabled
TextTranslation siteaccess
enabled
Translation File: translations/eng-US/translation.ts
Translation File XML:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>extension/bcloremipsum/create</name>
<message>
<source>Create nodes in content tree for eZ Publish</source>
<translation>Create nodes in content tree for eZ Publish for North American Users</translation>
</message>
</context>
</TS>
[Not used anylonger] Original full translation File XML:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en_US">
<context>
<name>extension/bcloremipsum/create</name>
<message>
<source><![CDATA[Create Nodes - Create content tree nodes for eZ Publish]]></source>
<comment>main.tpl title</comment>
<translation><![CDATA[Create Nodes - Create content tree nodes for eZ Publish]]></translation>
</message>
<message>
<source>summary</source>
<comment>main.tpl summary</comment>
<translation type="unfinished"></translation>
</message>
<message>
<source>attribute-summary</source>
<comment>main.tpl attribute summary</comment>
<translation type="unfinished"></translation>
</message>
<message>
<source>attribute-summary</source>
<comment>main.tpl attribute summary</comment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Generate</source>
<comment>Submit button text</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>design/admin/parts/lor/menu</name>
<message>
<source>Create nodes</source>
<comment>menu.tpl first link title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Extension project</source>
<comment>menu.tpl second link title</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>kernel/navigationpart</name>
<message>
<source>Create Nodes</source>
<comment>Navigation part</comment>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment