LaCollision Posted February 6, 2015 Share Posted February 6, 2015 Hi,I am looking for the languages cache files… I can't find them in the datastore.Do you know where these files may be hidden?Thanks, Link to comment Share on other sites More sharing options...
LaCollision Posted February 6, 2015 Author Share Posted February 6, 2015 I can see in each application a dev/lang.php and a data/lang.xml files, but where are the translations?Are these files used for the live applications? Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 6, 2015 Share Posted February 6, 2015 dev/lang.php is used in development. When you export the app, it creates the XML, which is used by the install and added to the core_sys_lang_words table. Link to comment Share on other sites More sharing options...
LaCollision Posted February 6, 2015 Author Share Posted February 6, 2015 dev/lang.php is used in development. When you export the app, it creates the XML, which is used by the install and added to the core_sys_lang_words table. Thanks a lot I've created a plugin (not an app) and added an item in the plugin lang.php file, but it doesn't appear in the Themes > languages center. We can only translate apps languages bits? Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 6, 2015 Share Posted February 6, 2015 Have you downloaded the plugin ? When you download it, it adds the language bit to the XML, like that:}]]></hook></hooks><htmlFiles><html filename="regTerms.phtml">PGlwczp0ZW1wbGF0ZSBwYXJhbWV0ZXJzPSIkZm9ybSIgLz4NCnt0ZW1wbGF0ZT0icGFnZUhlYWRlciIgZ3JvdXA9Imdsb2JhbCIgcGFyYW1zPSJcSVBTXE1lbWJlcjo6bG9nZ2VkSW4oKS0+bGFuZ3VhZ2UoKS0+YWRkVG9TdGFjaygncmVnX3Rlcm1zJykifQ0KPGRpdiBjbGFzcz0naXBzVHlwZV9ub3JtYWwgaXBzVHlwZV9yaWNoVGV4dCBpcHNQYWQnPg0KCXtsYW5nPSJyZWdfcnVsZXNfdmFsdWUifQ0KCTxkaXYgY2xhc3M9Imlwc0FyZWFCYWNrZ3JvdW5kIGlwc1BhZCI+DQoJCTxjZW50ZXI+eyRmb3JtfHJhd308L2NlbnRlcj4NCgk8L2Rpdj4NCjwvZGl2Pg==</html></htmlFiles><cssFiles/><jsFiles/><resourcesFiles/><lang><word key="regTerm" js="0"><![CDATA[<strong>I have read, understood and agree to those rules and conditions</strong>]]></word><word key="regTerm_proceed" js="0">Continue Registration</word></lang><versions><version long="10000" human="1.0.0"><![CDATA[//<?phpThis plugin has 2 language bits. See the word key above... appears twice. Link to comment Share on other sites More sharing options...
LaCollision Posted February 6, 2015 Author Share Posted February 6, 2015 Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.