Jump to content

[IPS4] Where are the languages cache files?

Featured Replies

Posted

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,

  • Author

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?

  • Community Expert

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.

  • Author

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?

  • Community Expert

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[//<?php

This plugin has 2 language bits. See the word key above... appears twice.

  • Author

Thanks a lot :)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.