News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Which version of the XML should I use?

Started by jsx, December 17, 2018, 11:38:39 AM

Previous topic - Next topic

jsx

If I understand this correctly, the content of the translation that is in the PHP file does not go to the Modifications.polish-utf8.php file because is in the own file.

Example:

../languages/OharaYTEmbed.polish-utf8.php

Thank you for your patience. :)

SychO

no, that's not why

the file is added to the languages directory because you tell the package manager to do so
new language strings are added to Modifications.{lang}.php or any other language file, because you tell the package manager to execute a modification that does that work

you really need to read these
Package SDK: package-info.xml
Package SDK: modification.xml
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Kindred

basically, I follow this rule of thumb.

If my mod adds under 20 text strings, I add those strings to the end of the modifications.language.php file....   if I'm going to add more, then I add my own separate file of strings just for the mod.


but doing that is two different commands in the mod install xml
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: